summaryrefslogtreecommitdiffstats
path: root/git-fsck.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-03-20 16:15:59 +0900
committerJunio C Hamano <gitster@pobox.com>2019-03-20 16:15:59 +0900
commit328b8c903d3158188a5d7dff974bcd6174a8ed32 (patch)
treef98991773522851aa89d71c2b2e0b33a4c309125 /git-fsck.txt
parentdecc7317e484bc31d0dfb457e70c9ad5a59fe7b1 (diff)
downloadgit-htmldocs-328b8c903d3158188a5d7dff974bcd6174a8ed32.tar.gz
Autogenerated HTML docs for v2.21.0-196-g041f5
Diffstat (limited to 'git-fsck.txt')
-rw-r--r--git-fsck.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/git-fsck.txt b/git-fsck.txt
index 55950d9ee..e0eae642c 100644
--- a/git-fsck.txt
+++ b/git-fsck.txt
@@ -62,9 +62,17 @@ 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.
++
+Unreachable tags, commits, and trees will also be accessed to find the
+tips of dangling segments of history. Use `--no-dangling` if you don't
+care about this output and want to speed it up further.
--strict::
Enable more strict checking, namely to catch a file mode