Skip to content

Commit 45d51dc

Browse files
Oblomovgitster
authored andcommitted
am: fix stgit patch mangling
Signed-off-by: Giuseppe Bilotta <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c574e68 commit 45d51dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-am.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ split_patches () {
229229
perl -ne 'BEGIN { $subject = 0 }
230230
if ($subject > 1) { print ; }
231231
elsif (/^\s+$/) { next ; }
232-
elsif (/^Author:/) { print s/Author/From/ ; }
232+
elsif (/^Author:/) { s/Author/From/ ; print ;}
233233
elsif (/^(From|Date)/) { print ; }
234234
elsif ($subject) {
235235
$subject = 2 ;

0 commit comments

Comments
 (0)