Skip to content

Commit ef91a1e

Browse files
authored
previous commit missed loop construct for c and d diff commands
1 parent 0c9990f commit ef91a1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/patch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ while (<PATCH>) {
209209
$patch->reject($range);
210210
last;
211211
}
212+
$i_end = $i_start unless defined $i_end; # for input "XcY,Z" and "XdY,Z"
212213
my (@d_hunk, @a_hunk);
213214
my $d_re = qr/^$space< /;
214215
my $a_re = qr/^$space> /;

0 commit comments

Comments
 (0)