Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Leave an empty line between log and sign-off.
[gitweb.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index 1206c20c2eca1edfb9318891d8237685d237c945..5e85b54645edbbdb5e2ba82573ca25d37feacfd1 100755
(executable)
--- 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