From: Stephan Beyer Date: Sat, 12 Jul 2008 15:46:59 +0000 (+0200) Subject: git-am: Do not exit silently if committer is unset X-Git-Tag: v1.5.6.3~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=460abee5cd7d0cb06e5f424b1dae793af4e66cbb;p=git.git git-am: Do not exit silently if committer is unset Signed-off-by: Stephan Beyer Signed-off-by: Junio C Hamano --- diff --git a/git-am.sh b/git-am.sh index 2c517ede5..83b277acf 100755 --- a/git-am.sh +++ b/git-am.sh @@ -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"