Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/patch
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,8 @@ sub apply {
$cmd[$i] = '';
s/\.\././ for @{$cmd[$i-1][3]};
next;
} elsif ($cmd eq 'a') {
$start = $end if $start < $end; # "1,10a" takes 10 as target
}

# Remove '.' line used to terminate hunks.
Expand Down
Loading