summaryrefslogtreecommitdiff
path: root/commit-tree.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 10:15:02 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 10:15:02 -0700
commit65bb49144d26a10837582a99e66041035319ff91 (patch)
tree46c126e40370987967564a7028d91c840ffc17db /commit-tree.c
parentFix NSEC compile problem, and properly parse the rev-tree cmd line. (diff)
downloadtgif-65bb49144d26a10837582a99e66041035319ff91.tar.xz
Add the ability to prefix something to the pathname to "checkout-cache.c"
This basically makes it trivial to use checkout-cache as a "export as tree" function. Just read the desired tree into the index, and do a checkout-cache --prefix=export-dir/ -a and checkout-cache will "export" the cache into the specified directory. NOTE! The final "/" is important. The exported name is literally just prefixed with the specified string, so you can also do something like checkout-cache --prefix=.merged- Makefile to check out the currently cached copy of "Makefile" into the file ".merged-Makefile".
Diffstat (limited to 'commit-tree.c')
0 files changed, 0 insertions, 0 deletions