X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-applymbox.sh;h=3efd6a746407bdc38ba9d251332427c508e5ee40;hb=3a81b9f571a6b7edd83b3d5f27c3c95d9b1c9d5c;hp=1f68599ae51a671f8c7a3a01c6aa9c6b205dd217;hpb=e861ce1692fa9809f3e7b898804f8ddaf7cd8975;p=git.git diff --git a/git-applymbox.sh b/git-applymbox.sh index 1f68599ae..3efd6a746 100755 --- a/git-applymbox.sh +++ b/git-applymbox.sh @@ -77,6 +77,10 @@ do *) git-mailinfo $keep_subject $utf8 \ .dotest/msg .dotest/patch <$i >.dotest/info || exit 1 + test -s .dotest/patch || { + echo "Patch is empty. Was is split wrong?" + exit 1 + } git-stripspace < .dotest/msg > .dotest/msg-clean ;; esac