summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-09-23 14:11:18 -0700
committerJunio C Hamano <gitster@pobox.com>2011-09-23 14:11:18 -0700
commit40ffc49876611150104102d59a35d865e4670bd7 (patch)
treee341ca0e53f3824c2ab8d8a2dd2ef6fe6a7330d3
parente622f41dcd97861796c7529712170f9eae07dc56 (diff)
parentdff4b0ef30cd3f06e1f2383ce09f81b8da94d5b3 (diff)
downloadgit-40ffc49876611150104102d59a35d865e4670bd7.tar.gz
Merge branch 'gb/maint-am-patch-format-error-message' into maint
* gb/maint-am-patch-format-error-message: am: format is in $patch_format, not parse_patch
-rwxr-xr-xgit-am.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-am.sh b/git-am.sh
index f1a03c9128..f5afe1562a 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -305,7 +305,8 @@ split_patches () {
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."