]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/git.pm
Replace Verisign logo with one done in Inkscape
[git.ikiwiki.info.git] / IkiWiki / Plugin / git.pm
index 1dbf00d55b7f0a4d7aede6fd20ec5fb9a82a7041..77c0678bcbd8dfd32c13b164477ea899d0c9f38a 100644 (file)
@@ -476,12 +476,12 @@ 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}}) {
                        my $file=$i->{file};
-                       if ($i->{sha1_to} == $nullsha) {
+                       if ($i->{sha1_to} eq $nullsha) {
                                delete $changed{$file};
                                $deleted{$file}=1;
                        }