projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04014e4
)
use a more idiomatic foreach my
author
Joey Hess
<joey@gnu.kitenet.net>
Wed, 12 Aug 2009 16:43:57 +0000
(12:43 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Wed, 12 Aug 2009 16:43:57 +0000
(12:43 -0400)
IkiWiki/Plugin/monotone.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/monotone.pm
b/IkiWiki/Plugin/monotone.pm
index bdb564a71c30befd8d219e0796d58e5d52b7dcb3..05c5a514dc3f22c6b58de298b007c16a9208d89f 100644
(file)
--- a/
IkiWiki/Plugin/monotone.pm
+++ b/
IkiWiki/Plugin/monotone.pm
@@
-575,13
+575,12
@@
sub rcs_recentchanges ($) {
}
my @changed_files = get_changed_files($automator, $rev);
- my $file;
my ($out, $err) = $automator->call("parents", $rev);
my @parents = ($out =~ m/^($sha1_pattern)$/);
my $parent = $parents[0];
- foreach $file (@changed_files) {
+ foreach
my
$file (@changed_files) {
next unless length $file;
if (defined $config{diffurl} and (@parents == 1)) {