Skip to content

Commit 40ffc49

Browse files
committed
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
2 parents e622f41 + dff4b0e commit 40ffc49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-am.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ split_patches () {
305305
msgnum=
306306
;;
307307
*)
308-
if test -n "$parse_patch" ; then
308+
if test -n "$patch_format"
309+
then
309310
clean_abort "Patch format $patch_format is not supported."
310311
else
311312
clean_abort "Patch format detection failed."

0 commit comments

Comments
 (0)