summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9635e9)
raw | patch | inline | side by side (parent: d9635e9)
author | Sean <seanlkml@sympatico.ca> | |
Sun, 14 May 2006 03:09:32 +0000 (23:09 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 14 May 2006 23:27:03 +0000 (16:27 -0700) |
It's better to find out you need to fix your author and
committer information before you enter a long commit message.
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
committer information before you enter a long commit message.
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
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 26cd7ca54de2e0b4802546d2611cd379694ec005..6ef1a9dedc89af10865ed114458df88617bb5ca9 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
exit 1
;;
esac
+ git-var GIT_AUTHOR_IDENT > /dev/null || die
+ git-var GIT_COMMITTER_IDENT > /dev/null || die
${VISUAL:-${EDITOR:-vi}} "$GIT_DIR/COMMIT_EDITMSG"
;;
esac