* [PATCH] git-am: Do not exit silently if committer is unset
@ 2008-07-12 15:46 Stephan Beyer
0 siblings, 0 replies; only message in thread
From: Stephan Beyer @ 2008-07-12 15:46 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Stephan Beyer
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
---
git-am.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/git-am.sh b/git-am.sh
index 2c517ed..83b277a 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"
--
1.5.6.2.303.g79662
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-12 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12 15:46 [PATCH] git-am: Do not exit silently if committer is unset Stephan Beyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).