deal with the case where oldrev is the same as newrev

master
Joey Hess 2013-11-16 20:48:23 -04:00
parent 727d39b92a
commit 441002e3e6
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ sub rcs_find_changes ($) {
my %changed;
my %deleted;
my $nullsha = 0 x 40;
my $newrev;
my $newrev=$oldrev;
while (my $ci = parse_diff_tree(\@raw_lines)) {
$newrev=$ci->{sha1};
foreach my $i (@{$ci->{details}}) {