Skip to content

Commit

Permalink
Merge branch 'fix'
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 15739c8 + ec4e69c commit de1d4fa
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 de1d4fa

Please sign in to comment.