unfinished file_prune revamp
authorJoey Hess <joey@kitenet.net>
Sat, 17 Apr 2010 23:05:40 +0000 (19:05 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 17 Apr 2010 23:05:40 +0000 (19:05 -0400)
commita97964688b73d0a3237c798dce3fb064ff29ff11
tree6a3ca565cd89b6b69b736ccc391b4ec1aba87421
parente289e0b4ba48d01e24586dbdcaeda367763edd67
unfinished file_prune revamp

Many calls to file_prune were incorrectly calling it with 2 parameters.
In cases where the filename being checked is relative to the srcdir,
that is not needed.

Made absolute filenames be pruned. (This won't work for the 2 parameter call
style.)
IkiWiki.pm
IkiWiki/Plugin/attachment.pm
IkiWiki/Plugin/comments.pm
IkiWiki/Plugin/editpage.pm
IkiWiki/Plugin/rename.pm
IkiWiki/Receive.pm
t/file_pruned.t