Skip to content

Commit

Permalink
Merge branch 'fix' into maint
Browse files Browse the repository at this point in the history
* fix:
  Ensure author & committer before asking for commit message.
  • Loading branch information
Junio C Hamano committed May 15, 2006
2 parents 3f22deb + ec4e69c commit c8df633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8df633

Please sign in to comment.