summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9b2e58)
raw | patch | inline | side by side (parent: e9b2e58)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Oct 2005 06:49:46 +0000 (23:49 -0700) | ||
committer | Junio 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 | patch | blob | history |
diff --git a/git-commit.sh b/git-commit.sh
index 1206c20c2eca1edfb9318891d8237685d237c945..5e85b54645edbbdb5e2ba82573ca25d37feacfd1 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
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