From 415e96c8b7e7d47f98a45ae1b6d524418245a3b4 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 15 May 2005 14:23:12 -0700 Subject: [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 Signed-off-by: Linus Torvalds --- Documentation/git-checkout-cache.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Documentation/git-checkout-cache.txt') diff --git a/Documentation/git-checkout-cache.txt b/Documentation/git-checkout-cache.txt index 9d41626d9..321a00c25 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=] +'git-checkout-cache' [-u] [-q] [-a] [-f] [-n] [--prefix=] [--] ... 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 -- cgit v1.2.1