Code

Leave an empty line between log and sign-off.
authorJunio C Hamano <junkio@cox.net>
Tue, 4 Oct 2005 06:49:46 +0000 (23:49 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 4 Oct 2005 06:49:46 +0000 (23:49 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh

index 1206c20c2eca1edfb9318891d8237685d237c945..5e85b54645edbbdb5e2ba82573ca25d37feacfd1 100755 (executable)
@@ -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