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>
maint
Stephan Beyer 2008-07-12 17:46:59 +02:00 committed by Junio C Hamano
parent 329636b435
commit 460abee5cd
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ set_reflog_action am
require_work_tree require_work_tree
cd_to_toplevel 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 () { stop_here () {
echo "$1" >"$dotest/next" echo "$1" >"$dotest/next"