From: Junio C Hamano Date: Sat, 17 Mar 2007 04:22:05 +0000 (-0700) Subject: applymbox: brown paper bag fix. X-Git-Tag: v1.5.1-rc1~24 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0d38ab25?hp=dbb2b41aa49aa0cd088f5fabd5326dcfed7144e3 applymbox: brown paper bag fix. An earlier patch 87ab7992 broke applymbox by blindly copying piece from git-am, causing a harmless but annoying series of error messages. Signed-off-by: Junio C Hamano --- diff --git a/git-applymbox.sh b/git-applymbox.sh index 2cbdc7eb3c..3efd6a7464 100755 --- a/git-applymbox.sh +++ b/git-applymbox.sh @@ -77,9 +77,9 @@ do *) git-mailinfo $keep_subject $utf8 \ .dotest/msg .dotest/patch <$i >.dotest/info || exit 1 - test -s $dotest/patch || { + test -s .dotest/patch || { echo "Patch is empty. Was is split wrong?" - stop_here $this + exit 1 } git-stripspace < .dotest/msg > .dotest/msg-clean ;;