]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix eq
authorJoey Hess <joey@kitenet.net>
Sat, 16 Nov 2013 22:56:39 +0000 (18:56 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 16 Nov 2013 22:56:39 +0000 (18:56 -0400)
IkiWiki/Plugin/git.pm

index 1dbf00d55b7f0a4d7aede6fd20ec5fb9a82a7041..f2b5f9ef98099e99f8adf23be3e19c7efbfb7468 100644 (file)
@@ -481,7 +481,7 @@ sub rcs_find_changes ($) {
                $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;
                        }