path: root/Documentation/git-update-index.txt
diff options
authorNguyễn Thái Ngọc Duy <>2015-03-08 10:12:43 (GMT)
committerJunio C Hamano <>2015-03-12 20:45:18 (GMT)
commitf64cb88d3521b64b2db9353d14148328063745dc (patch)
tree33e814f8ebf3b2d01a21fd9782f916f5353b180e /Documentation/git-update-index.txt
parent9e5972413b4873dc143c4046c6e74eb608ace32b (diff)
update-index: test the system before enabling untracked cache
Helped-by: Eric Sunshine <> Helped-by: Junio C Hamano <> Signed-off-by: Nguyễn Thái Ngọc Duy <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-update-index.txt')
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 6bc2967..1a296bc 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -178,6 +178,12 @@ may not support it yet.
system must change `st_mtime` field of a directory if files
are added or deleted in that directory.
+ For safety, `--untracked-cache` performs tests on the working
+ directory to make sure untracked cache can be used. These
+ tests can take a few seconds. `--force-untracked-cache` can be
+ used to skip the tests.
Do not interpret any more arguments as options.