summaryrefslogtreecommitdiffstats
path: root/git-archive.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-29 16:20:47 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-29 16:20:47 -0700
commit19dcd3f0b9267bf8ca50aa402ecf9f18957583c0 (patch)
treeea9de4084c57f181044a9aed3d984322b35f2d06 /git-archive.html
parent7f3e672e3ddcaaf72cc46cfda34941183a9e5bbe (diff)
downloadgit-htmldocs-19dcd3f0b9267bf8ca50aa402ecf9f18957583c0.tar.gz
Autogenerated HTML docs for v2.34.0-rc0
Diffstat (limited to 'git-archive.html')
-rw-r--r--git-archive.html22
1 files changed, 16 insertions, 6 deletions
diff --git a/git-archive.html b/git-archive.html
index 91e6a0457..98fc11a0e 100644
--- a/git-archive.html
+++ b/git-archive.html
@@ -909,20 +909,30 @@ comment.</p></div>
<h3 id="_zip">zip</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
--0
+-&lt;digit&gt;
</dt>
<dd>
<p>
- Store the files instead of deflating them.
+ Specify compression level. Larger values allow the command
+ to spend more time to compress to smaller size. Supported
+ values are from <code>-0</code> (store-only) to <code>-9</code> (best ratio).
+ Default is <code>-6</code> if not given.
</p>
</dd>
+</dl></div>
+</div>
+<div class="sect2">
+<h3 id="_tar">tar</h3>
+<div class="dlist"><dl>
<dt class="hdlist1">
--9
+-&lt;number&gt;
</dt>
<dd>
<p>
- Highest and slowest compression level. You can specify any
- number from 1 to 9 to adjust compression speed and ratio.
+ Specify compression level. The value will be passed to the
+ compression command configured in <code>tar.&lt;format&gt;.command</code>. See
+ manual page of the configured command for the list of supported
+ levels and the default level if this option isn&#8217;t specified.
</p>
</dd>
</dl></div>
@@ -1106,7 +1116,7 @@ while archiving any tree in your <code>$GIT_DIR/info/attributes</code> file.</p>
<div id="footer">
<div id="footer-text">
Last updated
- 2020-10-18 13:46:42 PDT
+ 2021-10-29 16:18:45 PDT
</div>
</div>
</body>