aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-index-pack.txt
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-03-14 11:42:40 -0700
committerJunio C Hamano <gitster@pobox.com>2018-03-15 10:16:24 -0700
commitffb2c0fe5c2dbfe2be0a4743ffed622295e1124c (patch)
treebb328c4a39dc079f0f7608f0e1226503ccc05268 /Documentation/git-index-pack.txt
parent7fb6aefd2aaffe66e614f7f7b83e5b7ab16d4806 (diff)
downloadgit-ffb2c0fe5c2dbfe2be0a4743ffed622295e1124c.tar.gz
index-pack: support checking objects but not links
The index-pack command currently supports the --check-self-contained-and-connected argument, for internal use only, that instructs it to only check for broken links and not broken objects. For partial clones, we need the inverse, so add a --fsck-objects argument that checks for broken objects and not broken links, also for internal use only. This will be used by fetch-pack in a subsequent patch. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-index-pack.txt')
-rw-r--r--Documentation/git-index-pack.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index 1b4b65d665..138edb47b6 100644
--- a/Documentation/git-index-pack.txt
+++ b/Documentation/git-index-pack.txt
@@ -77,6 +77,9 @@ OPTIONS
--check-self-contained-and-connected::
Die if the pack contains broken links. For internal use only.
+--fsck-objects::
+ Die if the pack contains broken objects. For internal use only.
+
--threads=<n>::
Specifies the number of threads to spawn when resolving
deltas. This requires that index-pack be compiled with