X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/83235dbc546d74ee325bb09b602bd62313fea793..5288be3af7c24814011130306725c24df792cc06:/support/patch-update diff --git a/support/patch-update b/support/patch-update index 0c0cb6d5..14360c13 100755 --- a/support/patch-update +++ b/support/patch-update @@ -59,7 +59,9 @@ foreach my $patch (@patches) { my $desc = ''; open(PIPE, '-|', 'git', 'diff', '-U1000', "master...$branch", '--', "PATCH.$patch") or die $!; while () { - next if m{^\Q+++\E b/PATCH}; + last if /^@@ /; + } + while () { next unless s/^[ +]//; if (m#patch -p1