From 45d51dc9695a52222fc900e3c7ae8b9ee66c3db7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 29 Aug 2011 18:44:07 +0200 Subject: [PATCH] am: fix stgit patch mangling Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- git-am.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ; -- 2.26.2