aboutsummaryrefslogtreecommitdiff
path: root/checkout-cache.c
Commit message (Collapse)AuthorAge
* Convert the index file reading/writing to use network byte order.Linus Torvalds2005-04-15
| | | | | | | This allows using a git tree over NFS with different byte order, and makes it possible to just copy a fully populated repository and have the end result immediately usable (needing just a refresh to update the stat information).
* [PATCH] Consolidate the error handlingPetr Baudis2005-04-13
| | | | | | | Now there is error() for "library" errors and die() for fatal "application" errors. usage() is now used strictly only for usage errors. Signed-off-by: Petr Baudis <pasky@ucw.cz>
* Make "checkout-cache" silently skip up-to-date files.Linus Torvalds2005-04-12
| | | | | | It used to always overwrite them if forced. Now it just realizes that they are already ok, and don't need to be touched.
* Make the default directory permissions more lax.Linus Torvalds2005-04-11
| | | | | | After all, if you want to not allow others to read your stuff, set your "umask" appropriately or make sure the parent directories aren't readable/executable.
* Make "read-tree" read the tree into the current directory cache.Linus Torvalds2005-04-09
| | | | | It will no longer update the actual working directory, just the cache. To update the working directory, you need to use "checkout-cache".
* Fix "checkout-cache.c" mis-use of read_sha1_file() interface.Linus Torvalds2005-04-09
| | | | | It's supposed to test the returned file type, not think that read_sha1_file() tests it. Confusion from "cat-file" command line usage.
* Fix up "checkout-cache" a bitLinus Torvalds2005-04-09
| | | | | Make the warnings have newlines, and don't stop "checkout-cache -a" just because a file already exists.
* Add a "checkout-cache" command which does what the name suggests.Linus Torvalds2005-04-09
I'll also eventually change "read-tree" to only update the cache information, instead of doing a checkout of the tree. Much nicer.