]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bugfix
authorJoey Hess <joey@kitenet.net>
Thu, 30 Dec 2010 00:10:28 +0000 (20:10 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 30 Dec 2010 00:10:28 +0000 (20:10 -0400)
IkiWiki/Plugin/git.pm

index 52b2bbd506b39baced0a4144405da4e335792dc4..cadc69e24d6f1f610bf5a6f1d93e35a20ec966b3 100644 (file)
@@ -679,6 +679,7 @@ sub rcs_diff ($;$) {
                return if defined $maxlines && @lines == $maxlines;
                push @lines, $line."\n"
                        if (@lines || $line=~/^diff --git/);
+               return 1;
        };
        safe_git(undef, $addlines, "git", "show", $sha1);
        if (wantarray) {