aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-12-29 20:10:28 -0400
committerJoey Hess <joey@kitenet.net>2010-12-29 20:10:28 -0400
commit8517aa8687fe2d68f380268854929eef18abec14 (patch)
treee7374dab9540df80138554580e98f621c96b3cae
parent4fb26f4e60f2df282fc972e4b8506ccd306de789 (diff)
downloadikiwiki-8517aa8687fe2d68f380268854929eef18abec14.tar
ikiwiki-8517aa8687fe2d68f380268854929eef18abec14.tar.gz
bugfix
-rw-r--r--IkiWiki/Plugin/git.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm
index 52b2bbd50..cadc69e24 100644
--- a/IkiWiki/Plugin/git.pm
+++ b/IkiWiki/Plugin/git.pm
@@ -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) {