diff --git a/git-applymbox.sh b/git-applymbox.sh
index 1f68599ae51a671f8c7a3a01c6aa9c6b205dd217..3efd6a746407bdc38ba9d251332427c508e5ee40 100755 (executable)
--- a/git-applymbox.sh
+++ b/git-applymbox.sh
*)
git-mailinfo $keep_subject $utf8 \
.dotest/msg .dotest/patch <$i >.dotest/info || exit 1
*)
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
git-stripspace < .dotest/msg > .dotest/msg-clean
;;
esac