X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/727d39b92a90619027badbd4fd28d37a51c25d16..1d3b2674c87c9cac395228dac9b60c751d4e06a1:/IkiWiki/Plugin/git.pm diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index f2b5f9ef9..77c0678bc 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -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}}) {