diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-15 09:51:37 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-15 09:51:37 +0200 |
commit | de1d4fa2a1273e09c32653c7a21602e36223348c (patch) | |
tree | aa77ababc7d9afce5d67fac7817e0120c724b830 | |
parent | Install git-send-email by default (diff) | |
parent | Ensure author & committer before asking for commit message. (diff) | |
download | git-de1d4fa2a1273e09c32653c7a21602e36223348c.tar.xz git-de1d4fa2a1273e09c32653c7a21602e36223348c.zip |
Merge branch 'fix'
* 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 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 |