summaryrefslogtreecommitdiffstats
path: root/git-index-pack.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-06 22:35:57 -0700
committerJunio C Hamano <gitster@pobox.com>2020-07-06 22:35:57 -0700
commita89117826695bd15a06ab893f088622d58d49b0f (patch)
tree70a28e4da17998aca0ba3e65532c146377dc655b /git-index-pack.html
parentcb66540f7a8e62233e4f403871e927e8de01bb3f (diff)
downloadgit-htmldocs-a89117826695bd15a06ab893f088622d58d49b0f.tar.gz
Autogenerated HTML docs for v2.27.0-343-g4a0fcf
Diffstat (limited to 'git-index-pack.html')
-rw-r--r--git-index-pack.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/git-index-pack.html b/git-index-pack.html
index 7d0f20064..ca7f26bc2 100644
--- a/git-index-pack.html
+++ b/git-index-pack.html
@@ -898,6 +898,18 @@ objects/pack/ directory of a Git repository.</p></div>
Die, if the pack is larger than &lt;size&gt;.
</p>
</dd>
+<dt class="hdlist1">
+--object-format=&lt;hash-algorithm&gt;
+</dt>
+<dd>
+<p>
+ Specify the given object format (hash algorithm) for the pack. The valid
+ values are <em>sha1</em> and (if enabled) <em>sha256</em>. The default is the algorithm for
+ the current repository (set by <code>extensions.objectFormat</code>), or <em>sha1</em> if no
+ value is set or outside a repository.
+</p>
+<div class="paragraph"><p>This option cannot be used with --stdin.</p></div>
+</dd>
</dl></div>
</div>
</div>
@@ -923,7 +935,7 @@ mentioned above.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 08:03:13 PDT
+ 2020-07-06 22:33:22 PDT
</div>
</div>
</body>