]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-fsck.txt
doc/fsck: clarify --connectivity-only behavior
[thirdparty/git.git] / Documentation / git-fsck.txt
index ab9a93fb9b8fb7291362cc419a7aca8b464d3d76..b2a32d57c8403d5f3a48938760c18b498fc32112 100644 (file)
@@ -62,9 +62,13 @@ index file, all SHA-1 references in `refs` namespace, and all reflogs
        with --no-full.
 
 --connectivity-only::
-       Check only the connectivity of tags, commits and tree objects. By
-       avoiding to unpack blobs, this speeds up the operation, at the
-       expense of missing corrupt objects or other problematic issues.
+       Check only the connectivity of reachable objects, making sure
+       that any objects referenced by a reachable tag, commit, or tree
+       is present. This speeds up the operation by avoiding reading
+       blobs entirely (though it does still check that referenced blobs
+       exist). This will detect corruption in commits and trees, but
+       not do any semantic checks (e.g., for format errors). Corruption
+       in blob objects will not be detected at all.
 
 --strict::
        Enable more strict checking, namely to catch a file mode