Skip to content

Commit fee6bc5

Browse files
committed
Merge branch 'gb/maint-am-stgit-author-to-from-fix'
* gb/maint-am-stgit-author-to-from-fix: am: fix stgit patch mangling
2 parents e7734c6 + 45d51dc commit fee6bc5

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
@@ -295,7 +295,7 @@ split_patches () {
295295
perl -ne 'BEGIN { $subject = 0 }
296296
if ($subject > 1) { print ; }
297297
elsif (/^\s+$/) { next ; }
298-
elsif (/^Author:/) { print s/Author/From/ ; }
298+
elsif (/^Author:/) { s/Author/From/ ; print ;}
299299
elsif (/^(From|Date)/) { print ; }
300300
elsif ($subject) {
301301
$subject = 2 ;

0 commit comments

Comments
 (0)