aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-02-07 02:59:05 -0400
committerJoey Hess <joey@kitenet.net>2012-02-07 03:06:40 -0400
commit1b6c1895784db37438ab51a4aebb366aa2e8009d (patch)
tree3e1f6f0de40f1d5cb61af83e48b444b940bfb783 /doc
parentc29a088dd8a2e2a2676bc5dba7a1046c2ac56a06 (diff)
downloadikiwiki-1b6c1895784db37438ab51a4aebb366aa2e8009d.tar
ikiwiki-1b6c1895784db37438ab51a4aebb366aa2e8009d.tar.gz
fix display of page name in recentchanges after a revert
When the wiki is in a subdir of the git repo, a web revert would show in recentchanges as eg, doc/index, instead of just index. This happened because decode_git_file caches a $prefix that is dependant on the $git_dir setting, and the revert code runs with a different $git_dir, which polluted the $prefix for later. Fix this by adding a with_git_dir that juggles the variables properly.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions