summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-10-03 23:49:46 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-03 23:49:46 -0700
commitf6413391b1f193cda54c0e4725ac28c9c4883ccc (patch)
tree5454fff0ce4cd99d743a2a40acf009d4849b67dc /git-commit.sh
parentRemove unused external-diff script. (diff)
downloadtgif-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-xgit-commit.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/git-commit.sh b/git-commit.sh
index 1206c20c2e..5e85b54645 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