diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-29 18:44:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-29 09:51:44 -0700 |
commit | 45d51dc9695a52222fc900e3c7ae8b9ee66c3db7 (patch) | |
tree | 6bad10091e69e4b4d1cb032259cbc67ba7414f90 /git-am.sh | |
parent | git-am foreign patch support: StGIT support (diff) | |
download | tgif-45d51dc9695a52222fc900e3c7ae8b9ee66c3db7.tar.xz |
am: fix stgit patch mangling
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ; |