Skip to content

Commit

Permalink
git-am: Do not exit silently if committer is unset
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
sbeyer authored and gitster committed Jul 13, 2008
1 parent 329636b commit 460abee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ set_reflog_action am
require_work_tree
cd_to_toplevel

git var GIT_COMMITTER_IDENT >/dev/null || exit
git var GIT_COMMITTER_IDENT >/dev/null ||
die "You need to set your committer info first"

stop_here () {
echo "$1" >"$dotest/next"
Expand Down

0 comments on commit 460abee

Please sign in to comment.