diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-12 15:45:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-12 15:45:10 -0400 |
commit | 862ca19eb1aee87e4ac05e8a5a9b326dd32dfe5d (patch) | |
tree | 65d67b5398db4cae6fd0d57526ba907b1b002d2c /IkiWiki/Rcs/tla.pm | |
parent | 672893634be9d7e7f2b44c27e4927021b12eedb6 (diff) | |
download | ikiwiki-862ca19eb1aee87e4ac05e8a5a9b326dd32dfe5d.tar ikiwiki-862ca19eb1aee87e4ac05e8a5a9b326dd32dfe5d.tar.gz |
truncate recentchangesdiffs after 200 lines
This works around a perl crasher bug, and also avoids bloating pages
with enormous diffs.
rcs_recentchanges modified to return a list in an array context.
Diffstat (limited to 'IkiWiki/Rcs/tla.pm')
-rw-r--r-- | IkiWiki/Rcs/tla.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm index 2890ff8c7..47579c15b 100644 --- a/IkiWiki/Rcs/tla.pm +++ b/IkiWiki/Rcs/tla.pm @@ -171,7 +171,7 @@ sub rcs_diff ($) { #{{{ } my $revminusone = $changesets[$i+1]; - return scalar `tla diff -d $config{srcdir} $revminusone`; + return `tla diff -d $config{srcdir} $revminusone`; } #}}} sub rcs_getctime ($) { #{{{ |