1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-02 15:28:21 +01:00

Merge branch 'fix'

* fix:
  Ensure author & committer before asking for commit message.
This commit is contained in:
Junio C Hamano 2006-05-15 00:51:37 -07:00
commit de1d4fa2a1

View file

@ -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