aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-01-05 17:47:50 +0000
committerSimon McVittie <smcv@debian.org>2017-01-09 13:07:24 +0000
commit650445645430931bea5947a217fa425b0ca3b521 (patch)
treed9ecc501520f5cd1a1c033f5cea4d7ab47be3ed9 /t
parent99258ea40516ffb1e9b8d777f3a26f30bbe478c3 (diff)
downloadikiwiki-650445645430931bea5947a217fa425b0ca3b521.tar
ikiwiki-650445645430931bea5947a217fa425b0ca3b521.tar.gz
git: do not mix in_git_dir with eval{}
If we throw an exception (usually from run_or_die), in_git_dir won't unshift the current directory from the stack. That's usually fine, but in rcs_preprevert we catch exceptions and do some cleanup before returning, for which we need the git directory to be the root and not the temporary working tree.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions