X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6a2456c501093327333b79af9a5fd9cf311702ea..62a6b8df72d18f0b13462ee7ac33f9a8a46ef0b5:/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