projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bceb10
)
fix typo
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 14 Dec 2009 23:20:11 +0000
(18:20 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 14 Dec 2009 23:20:11 +0000
(18:20 -0500)
This was probably not noticed because it only results in a warning, and in
the checkcontent diff having some unchanged lines in it.
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 3430c57420df18fc02ea6bca88229534d5b59d15..b8e599928678d31ab918cb629da94d95a35b7b1e 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-1407,7
+1407,7
@@
sub check_content (@) {
my %old=map { $_ => 1 }
split("\n", readfile(srcfile($pagesources{$params{page}})));
foreach my $line (split("\n", $params{content})) {
- push @diff, $line if ! exists $old{$
_
};
+ push @diff, $line if ! exists $old{$
line
};
}
$params{diff}=join("\n", @diff);
}