diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-15 00:49:25 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-15 00:49:25 -0700 |
commit | c8df633b4edfe6915ea3a8651a08d93654c62f24 (patch) | |
tree | 5153832c60cc8c4365f6374b1a99b9a6e883aa41 | |
parent | 3f22deb7f58dff426a0853de62cc553ec97d6bf8 (diff) | |
parent | ec4e69c06af3ecc38b9660b924e460689653487f (diff) | |
download | git-c8df633b4edfe6915ea3a8651a08d93654c62f24.tar.gz git-c8df633b4edfe6915ea3a8651a08d93654c62f24.tar.xz |
Merge branch 'fix' into maint
* fix:
Ensure author & committer before asking for commit message.
-rwxr-xr-x | git-commit.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-commit.sh b/git-commit.sh index 26cd7ca54..6ef1a9ded 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -640,6 +640,8 @@ case "$no_edit" in 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 |