Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
cvs.pm
diff --git
a/IkiWiki/Plugin/cvs.pm
b/IkiWiki/Plugin/cvs.pm
index c6687d7800707560e9c2ca49c513dc2b3b63ca91..71566d212ba71ea3b8c2296ffeb46c0101bea92d 100644
(file)
--- a/
IkiWiki/Plugin/cvs.pm
+++ b/
IkiWiki/Plugin/cvs.pm
@@
-436,8
+436,9
@@
sub rcs_recentchanges ($) {
return @ret;
}
return @ret;
}
-sub rcs_diff ($) {
+sub rcs_diff ($
;$
) {
my $rev=IkiWiki::possibly_foolish_untaint(int(shift));
my $rev=IkiWiki::possibly_foolish_untaint(int(shift));
+ my $maxlines=shift;
local $CWD = $config{srcdir};
local $CWD = $config{srcdir};
@@
-461,6
+462,8
@@
sub rcs_diff ($) {
sub rcs_getctime ($) {
my $file=shift;
sub rcs_getctime ($) {
my $file=shift;
+ local $CWD = $config{srcdir};
+
my $cvs_log_infoline=qr/^date: (.+);\s+author/;
open CVSLOG, "cvs -Q log -r1.1 '$file' |"
my $cvs_log_infoline=qr/^date: (.+);\s+author/;
open CVSLOG, "cvs -Q log -r1.1 '$file' |"