summaryrefslogtreecommitdiff
path: root/tests-clar/diff/patch.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-21 11:51:16 -0700
committerRussell Belfer <rb@github.com>2013-06-21 11:55:13 -0700
commit9094ae5a3c12ee99743498cb8e895d18b932e4dd (patch)
treed9018379bf5d6b784681f256ebd5186e0662688f /tests-clar/diff/patch.c
parent00197c34d6385a2de3970c9f820714064c5bf27f (diff)
downloadlibgit2-9094ae5a3c12ee99743498cb8e895d18b932e4dd.tar.gz
Add target directory to checkout
This adds the ability for checkout to write to a target directory instead of having to use the working directory of the repository. This makes it easier to do exports of repository data and the like. This is similar to, but not quite the same as, the --prefix option to `git checkout-index` (this will always be treated as a directory name, not just as a simple text prefix). As part of this, the workdir iterator was extended to take the path to the working directory as a parameter and fallback on the git_repository_workdir result only if it's not specified. Fixes #1332
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions