diff --git a/git-am.sh b/git-am.sh
index f1a03c912824a264cbe29905d53e2fe58c2c9dd6..f5afe1562af869a3d84197913e14667b9ce729c0 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
msgnum=
;;
*)
msgnum=
;;
*)
- if test -n "$parse_patch" ; then
+ if test -n "$patch_format"
+ then
clean_abort "Patch format $patch_format is not supported."
else
clean_abort "Patch format detection failed."
clean_abort "Patch format $patch_format is not supported."
else
clean_abort "Patch format detection failed."