From: Giuseppe Bilotta Date: Mon, 29 Aug 2011 16:44:07 +0000 (+0200) Subject: am: fix stgit patch mangling X-Git-Tag: v1.7.7-rc1~19^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=45d51dc9695a52222fc900e3c7ae8b9ee66c3db7;p=git.git am: fix stgit patch mangling Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- diff --git a/git-am.sh b/git-am.sh index 0ff1f577a..3afa92b85 100755 --- a/git-am.sh +++ b/git-am.sh @@ -229,7 +229,7 @@ split_patches () { perl -ne 'BEGIN { $subject = 0 } if ($subject > 1) { print ; } elsif (/^\s+$/) { next ; } - elsif (/^Author:/) { print s/Author/From/ ; } + elsif (/^Author:/) { s/Author/From/ ; print ;} elsif (/^(From|Date)/) { print ; } elsif ($subject) { $subject = 2 ;