From: Junio C Hamano Date: Tue, 4 Oct 2005 06:49:46 +0000 (-0700) Subject: Leave an empty line between log and sign-off. X-Git-Tag: v0.99.8b~1^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f6413391b1f193cda54c0e4725ac28c9c4883ccc;p=git.git Leave an empty line between log and sign-off. Signed-off-by: Junio C Hamano --- diff --git a/git-commit.sh b/git-commit.sh index 1206c20c..5e85b546 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -133,10 +133,13 @@ fi | git-stripspace >.editmsg case "$signoff" in t) - git-var GIT_COMMITTER_IDENT | sed -e ' - s/>.*/>/ - s/^/Signed-off-by: / - ' >>.editmsg + { + echo + git-var GIT_COMMITTER_IDENT | sed -e ' + s/>.*/>/ + s/^/Signed-off-by: / + ' + } >>.editmsg ;; esac