From 8517aa8687fe2d68f380268854929eef18abec14 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 29 Dec 2010 20:10:28 -0400 Subject: [PATCH] bugfix --- IkiWiki/Plugin/git.pm | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5