summaryrefslogtreecommitdiffstats
path: root/git-pack-refs.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-09 14:47:35 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-09 14:47:35 -0700
commiteabec52c201642649f007d7ec9e9f99e2b7fb25a (patch)
tree0e50fb48fb2ea0265972a630f9f7e819f25b4630 /git-pack-refs.html
parentfd00376c5a0146b5ede1fdaf0fbb5987081406d6 (diff)
downloadgit-htmldocs-eabec52c201642649f007d7ec9e9f99e2b7fb25a.tar.gz
Autogenerated HTML docs for v2.44.0-548-g91ec36
Diffstat (limited to 'git-pack-refs.html')
-rw-r--r--git-pack-refs.html29
1 files changed, 27 insertions, 2 deletions
diff --git a/git-pack-refs.html b/git-pack-refs.html
index 851b6de27..e8b0c54c1 100644
--- a/git-pack-refs.html
+++ b/git-pack-refs.html
@@ -749,7 +749,7 @@ git-pack-refs(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git pack-refs</em> [--all] [--no-prune] [--include &lt;pattern&gt;] [--exclude &lt;pattern&gt;]</pre>
+<pre class="content"><em>git pack-refs</em> [--all] [--no-prune] [--auto] [--include &lt;pattern&gt;] [--exclude &lt;pattern&gt;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -811,6 +811,31 @@ hierarchy after packing them. This option tells it not to.
</p>
</dd>
<dt class="hdlist1">
+--auto
+</dt>
+<dd>
+<p>
+Pack refs as needed depending on the current state of the ref database. The
+behavior depends on the ref format used by the repository and may change in the
+future.
+</p>
+<div class="ulist"><ul>
+<li>
+<p>
+"files": No special handling for <code>--auto</code> has been implemented.
+</p>
+</li>
+<li>
+<p>
+"reftable": Tables are compacted such that they form a geometric
+ sequence. For two tables N and N+1, where N+1 is newer, this
+ maintains the property that N is at least twice as big as N+1. Only
+ tables that violate this property are compacted.
+</p>
+</li>
+</ul></div>
+</dd>
+<dt class="hdlist1">
--include &lt;pattern&gt;
</dt>
<dd>
@@ -860,7 +885,7 @@ exists" when it means "branch &lt;branch&gt; exists".</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-06-13 13:57:42 PDT
+ 2024-04-09 14:45:01 PDT
</div>
</div>
</body>