@matheusbsbs / matheus-bagliano / commits / 460abee5cd
Fork 0

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>

Stephan Beyer committed Jul 12, 2008 at 17:46 UTC 460abee5cd7d0cb06e5f424b1dae793af4e66cbb
1 file changed +2 -1
git-am.sh
+2 -1
@@ -30,7 +30,8 @@ set_reflog_action am
30 require_work_tree
31 cd_to_toplevel
32
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"
35
36 stop_here () {
37 echo "$1" >"$dotest/next"