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 /git-commit.sh | |
parent | Merge branch 'fix' into maint (diff) | |
parent | Ensure author & committer before asking for commit message. (diff) | |
download | tgif-c8df633b4edfe6915ea3a8651a08d93654c62f24.tar.xz |
Merge branch 'fix' into maint
* fix:
Ensure author & committer before asking for commit message.
Diffstat (limited to 'git-commit.sh')
-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 26cd7ca54d..6ef1a9dedc 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 |