path: root/Documentation
diff options
authorJunio C Hamano <>2005-07-28 01:55:18 (GMT)
committerJunio C Hamano <>2005-07-28 01:57:14 (GMT)
commitfb6a3d862137c3f77c387729395a0c558950437b (patch)
treeebf19ee5856ca2298db7c70b187e9aeb93e8e474 /Documentation
parent64071805eda2b57d2b77943bb3f9865d90562ecf (diff)
Document --strict flag to the fsck-cache command.
Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation')
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/git-fsck-cache.txt b/Documentation/git-fsck-cache.txt
index f1c18c1..aaec2de 100644
--- a/Documentation/git-fsck-cache.txt
+++ b/Documentation/git-fsck-cache.txt
@@ -9,7 +9,7 @@ git-fsck-cache - Verifies the connectivity and validity of the objects in the da
-'git-fsck-cache' [--tags] [--root] [--unreachable] [--cache] [--standalone | --full] [<object>*]
+'git-fsck-cache' [--tags] [--root] [--unreachable] [--cache] [--standalone | --full] [--strict] [<object>*]
@@ -53,6 +53,14 @@ OPTIONS
and corresponding pack subdirectories in alternate
object pools; cannot be used with --standalone.
+ Enable more strict checking, namely to catch a file mode
+ recorded with g+w bit set, which was created by older
+ versions of GIT. Existing repositories, including the
+ Linux kernel, GIT itself, and sparse repository have old
+ objects that triggers this check, but it is recommended
+ to check new projects with this flag.
It tests SHA1 and general object sanity, and it does full tracking of
the resulting reachability and everything else. It prints out any
corruption it finds (missing or bad objects), and if you use the