summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c574e68)
raw | patch | inline | side by side (parent: c574e68)
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Mon, 29 Aug 2011 16:44:07 +0000 (18:44 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 29 Aug 2011 16:51:44 +0000 (09:51 -0700) |
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 0ff1f577a33ccc96adfbb14fa35adfeee9e309f5..3afa92b85ae3a0b73e6b6798dd2f6799536d3c03 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
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 ;