summaryrefslogtreecommitdiff
path: root/checkout-cache.c
AgeCommit message (Collapse)Author
2005-04-09Make "read-tree" read the tree into the current directory cache.Linus Torvalds
It will no longer update the actual working directory, just the cache. To update the working directory, you need to use "checkout-cache".
2005-04-09Fix "checkout-cache.c" mis-use of read_sha1_file() interface.Linus Torvalds
It's supposed to test the returned file type, not think that read_sha1_file() tests it. Confusion from "cat-file" command line usage.
2005-04-09Fix up "checkout-cache" a bitLinus Torvalds
Make the warnings have newlines, and don't stop "checkout-cache -a" just because a file already exists.
2005-04-09Add a "checkout-cache" command which does what the name suggests.Linus Torvalds
I'll also eventually change "read-tree" to only update the cache information, instead of doing a checkout of the tree. Much nicer.