summaryrefslogtreecommitdiffstats
path: root/git-index-pack.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-08 15:48:36 -0800
commit6546a509a43eda541b7749ee45837d7a74ba7339 (patch)
treea4753bbbeb6fa8a064cbcf570aadb5d4354a1ceb /git-index-pack.html
parentc2015e3db30c76ee24b99a14d244f62f1467f581 (diff)
downloadgit-htmldocs-6546a509a43eda541b7749ee45837d7a74ba7339.tar.gz
Autogenerated HTML docs for v2.43.0-581-g5216f
Diffstat (limited to 'git-index-pack.html')
-rw-r--r--git-index-pack.html28
1 files changed, 19 insertions, 9 deletions
diff --git a/git-index-pack.html b/git-index-pack.html
index 5555f40fc..f50f3b64b 100644
--- a/git-index-pack.html
+++ b/git-index-pack.html
@@ -865,11 +865,16 @@ the objects/pack/ directory of a Git repository.</p></div>
</p>
</dd>
<dt class="hdlist1">
---strict
+--strict[=&lt;msg-id&gt;=&lt;severity&gt;&#8230;]
</dt>
<dd>
<p>
- Die, if the pack contains broken objects or links.
+ Die, if the pack contains broken objects or links. An optional
+ comma-separated list of <code>&lt;msg-id&gt;=&lt;severity&gt;</code> can be passed to change
+ the severity of some possible issues, e.g.,
+ <code>--strict="missingEmail=ignore,badTagName=error"</code>. See the entry for the
+ <code>fsck.&lt;msg-id&gt;</code> configuration options in <a href="git-fsck.html">git-fsck(1)</a> for more
+ information on the possible values of <code>&lt;msg-id&gt;</code> and <code>&lt;severity&gt;</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -891,16 +896,21 @@ default and "Indexing objects" when <code>--stdin</code> is specified.</p></div>
</p>
</dd>
<dt class="hdlist1">
---fsck-objects
+--fsck-objects[=&lt;msg-id&gt;=&lt;severity&gt;&#8230;]
</dt>
<dd>
<p>
- For internal use only.
+ Die if the pack contains broken objects, but unlike <code>--strict</code>, don&#8217;t
+ choke on broken links. If the pack contains a tree pointing to a
+ .gitmodules blob that does not exist, prints the hash of that blob
+ (for the caller to check) after the hash that goes into the name of the
+ pack/idx file (see "Notes").
</p>
-<div class="paragraph"><p>Die if the pack contains broken objects. If the pack contains a tree
-pointing to a .gitmodules blob that does not exist, prints the hash of
-that blob (for the caller to check) after the hash that goes into the
-name of the pack/idx file (see "Notes").</p></div>
+<div class="paragraph"><p>An optional comma-separated list of <code>&lt;msg-id&gt;=&lt;severity&gt;</code> can be passed to
+change the severity of some possible issues, e.g.,
+<code>--fsck-objects="missingEmail=ignore,badTagName=ignore"</code>. See the entry for the
+<code>fsck.&lt;msg-id&gt;</code> configuration options in <a href="git-fsck.html">git-fsck(1)</a> for more
+information on the possible values of <code>&lt;msg-id&gt;</code> and <code>&lt;severity&gt;</code>.</p></div>
</dd>
<dt class="hdlist1">
--threads=&lt;n&gt;
@@ -985,7 +995,7 @@ mentioned above.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-10-23 14:43:46 PDT
+ 2024-02-08 15:45:59 PST
</div>
</div>
</body>