summaryrefslogtreecommitdiff
path: root/Documentation/git-checkout-cache.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-15 21:23:12 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-19 16:50:57 (GMT)
commit415e96c8b7e7d47f98a45ae1b6d524418245a3b4 (patch)
tree08f5f8433a6d56642b64fe9ab941647da6c8aef5 /Documentation/git-checkout-cache.txt
parent875d0f8ddb1d420f6465498842740c4f5ab03e6f (diff)
downloadgit-415e96c8b7e7d47f98a45ae1b6d524418245a3b4.zip
git-415e96c8b7e7d47f98a45ae1b6d524418245a3b4.tar.gz
git-415e96c8b7e7d47f98a45ae1b6d524418245a3b4.tar.bz2
[PATCH] Implement git-checkout-cache -u to update stat information in the cache.
With -u flag, git-checkout-cache picks up the stat information from newly created file and updates the cache. This removes the need to run git-update-cache --refresh immediately after running git-checkout-cache. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/git-checkout-cache.txt')
-rw-r--r--Documentation/git-checkout-cache.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-checkout-cache.txt b/Documentation/git-checkout-cache.txt
index 9d41626..321a00c 100644
--- a/Documentation/git-checkout-cache.txt
+++ b/Documentation/git-checkout-cache.txt
@@ -9,7 +9,7 @@ git-checkout-cache - Copy files from the cache to the working directory
SYNOPSIS
--------
-'git-checkout-cache' [-q] [-a] [-f] [-n] [--prefix=<string>]
+'git-checkout-cache' [-u] [-q] [-a] [-f] [-n] [--prefix=<string>]
[--] <file>...
DESCRIPTION
@@ -19,6 +19,10 @@ Will copy all files listed from the cache to the working directory
OPTIONS
-------
+-u::
+ update stat information for the checked out entries in
+ the cache file.
+
-q::
be quiet if files exist or are not in the cache