summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-07-12 17:46:59 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-13 12:46:18 -0700
commit460abee5cd7d0cb06e5f424b1dae793af4e66cbb (patch)
tree8b8dfc7f369e1394cd14395b6a781917b51fa1d1 /git-am.sh
parent329636b435a792cb10df8d49b791cdafd6d8189b (diff)
downloadgit-460abee5cd7d0cb06e5f424b1dae793af4e66cbb.tar.gz
git-am: Do not exit silently if committer is unset
Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh3
1 files changed, 2 insertions, 1 deletions
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"