diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-03 23:49:46 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-03 23:49:46 -0700 |
commit | f6413391b1f193cda54c0e4725ac28c9c4883ccc (patch) | |
tree | 5454fff0ce4cd99d743a2a40acf009d4849b67dc /git-commit.sh | |
parent | e9b2e586181ae7631a048b88221fb857706900e9 (diff) | |
download | git-f6413391b1f193cda54c0e4725ac28c9c4883ccc.tar.gz git-f6413391b1f193cda54c0e4725ac28c9c4883ccc.tar.xz |
Leave an empty line between log and sign-off.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-x | git-commit.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/git-commit.sh b/git-commit.sh index 1206c20c2..5e85b5464 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 |