Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff format documentation: describe raw combined diff format
[gitweb.git]
/
git-applymbox.sh
diff --git
a/git-applymbox.sh
b/git-applymbox.sh
index 1f68599ae51a671f8c7a3a01c6aa9c6b205dd217..c18e80ff8cd5a66a64e22cf96e77fad519d33b5d 100755
(executable)
--- 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 it split wrong?"
+ exit 1
+ }
git-stripspace < .dotest/msg > .dotest/msg-clean
;;
esac