X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-fsck-cache.txt;h=f1c18c10d82c63cab74779a4feacd2cde8671767;hb=2bbcddee877c01ea1008efe2137d7ef599189ef5;hp=0ef01c3ffcf57d58715439785da7ecb743a31fa2;hpb=c4584ae3fd7cd595a638a07dfd853e9d2745e930;p=git.git diff --git a/Documentation/git-fsck-cache.txt b/Documentation/git-fsck-cache.txt index 0ef01c3f..f1c18c10 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 SYNOPSIS -------- -'git-fsck-cache' [--tags] [--root] [--unreachable] [--cache] [*] +'git-fsck-cache' [--tags] [--root] [--unreachable] [--cache] [--standalone | --full] [*] DESCRIPTION ----------- @@ -37,6 +37,22 @@ OPTIONS Consider any object recorded in the cache also as a head node for an unreachability trace. +--standalone:: + Limit checks to the contents of GIT_OBJECT_DIRECTORY + (.git/objects), making sure that it is consistent and + complete without referring to objects found in alternate + object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES, + nor packed GIT archives found in .git/objects/pack; + cannot be used with --full. + +--full:: + Check not just objects in GIT_OBJECT_DIRECTORY + (.git/objects), but also the ones found in alternate + object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES, + and in packed GIT archives found in .git/objects/pack + and corresponding pack subdirectories in alternate + object pools; cannot be used with --standalone. + 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