From 460abee5cd7d0cb06e5f424b1dae793af4e66cbb Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Sat, 12 Jul 2008 17:46:59 +0200 Subject: git-am: Do not exit silently if committer is unset Signed-off-by: Stephan Beyer Signed-off-by: Junio C Hamano --- git-am.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-am.sh b/git-am.sh index 2c517ede59..83b277acfd 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" -- cgit v1.2.3