aboutsummaryrefslogtreecommitdiff
path: root/t/prune.t
Commit message (Collapse)AuthorAge
* prune: do not prune beyond an optional base directory, and add a testSimon McVittie2012-04-07
Previously, prune("wiki/srcdir/sandbox/test.mdwn") could delete srcdir or even wiki, if they happened to be empty. This is rarely what you want: there's usually some base directory (destdir, srcdir, transientdir or another subdirectory of wikistatedir) beyond which you do not want to delete.