fix subpage rename bug with indexpages
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 1 Oct 2008 18:43:28 +0000 (14:43 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 1 Oct 2008 18:43:28 +0000 (14:43 -0400)
commit826af4600a4e413ca8ec7b6d56f0a1cdca0ad635
tree5e95180d5b63f028ad019d19a9dba84e65e44cf9
parent82eac2d04eb9a3a2e52972a0219606ac292ee3b9
fix subpage rename bug with indexpages

If indexpages is enabled, then foo/index.mdwn will look like a subpage
of foo, so an additional check is needed to avoid trying to rename it
twice.
IkiWiki/Plugin/rename.pm