deal with the case where oldrev is the same as newrev
parent
727d39b92a
commit
441002e3e6
|
@ -476,7 +476,7 @@ sub rcs_find_changes ($) {
|
||||||
my %changed;
|
my %changed;
|
||||||
my %deleted;
|
my %deleted;
|
||||||
my $nullsha = 0 x 40;
|
my $nullsha = 0 x 40;
|
||||||
my $newrev;
|
my $newrev=$oldrev;
|
||||||
while (my $ci = parse_diff_tree(\@raw_lines)) {
|
while (my $ci = parse_diff_tree(\@raw_lines)) {
|
||||||
$newrev=$ci->{sha1};
|
$newrev=$ci->{sha1};
|
||||||
foreach my $i (@{$ci->{details}}) {
|
foreach my $i (@{$ci->{details}}) {
|
||||||
|
|
Loading…
Reference in New Issue