Skip to content

Commit 460abee

Browse files
sbeyergitster
authored andcommitted
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>
1 parent 329636b commit 460abee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-am.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ set_reflog_action am
3030
require_work_tree
3131
cd_to_toplevel
3232

33-
git var GIT_COMMITTER_IDENT >/dev/null || exit
33+
git var GIT_COMMITTER_IDENT >/dev/null ||
34+
die "You need to set your committer info first"
3435

3536
stop_here () {
3637
echo "$1" >"$dotest/next"

0 commit comments

Comments
 (0)