summaryrefslogtreecommitdiffstats
path: root/git-pack-redundant.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-06 13:59:09 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-06 13:59:09 -0700
commit478041de2972a50210bde6625218cde6b7b3e2c8 (patch)
tree7a06001c3ff4f0d63b7e4d04011270ef844643b6 /git-pack-redundant.html
parent3acb2e7b34954a141e76b0004a474d276bc86657 (diff)
downloadgit-htmldocs-478041de2972a50210bde6625218cde6b7b3e2c8.tar.gz
Autogenerated HTML docs for v2.40.0-315-g0607f
Diffstat (limited to 'git-pack-redundant.html')
-rw-r--r--git-pack-redundant.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/git-pack-redundant.html b/git-pack-redundant.html
index 46a10b30e..92bfb27ba 100644
--- a/git-pack-redundant.html
+++ b/git-pack-redundant.html
@@ -755,6 +755,21 @@ git-pack-redundant(1) Manual Page
</div>
</div>
<div class="sect1">
+<h2 id="_warning">WARNING</h2>
+<div class="sectionbody">
+<div class="paragraph"><p><code>git pack-redundant</code> has been deprecated and is scheduled for removal in
+a future version of Git. Because it can only remove entire duplicate
+packs and not individual duplicate objects, it is generally not a useful
+tool for reducing repository size. You are better off using <code>git gc</code> to
+do so, which will put objects into a new pack, removing duplicates.</p></div>
+<div class="paragraph"><p>Running <code>pack-redundant</code> without the <code>--i-still-use-this</code> flag will fail
+in this release. If you believe you have a use case for which
+<code>pack-redundant</code> is better suited and oppose this removal, please
+contact the Git mailing list at <a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>. More information
+about the list is available at <a href="https://git-scm.com/community">https://git-scm.com/community</a>.</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>This program computes which packs in your repository
@@ -819,7 +834,7 @@ git pack-redundant --all | xargs rm</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2022-11-11 23:55:30 PST
+ 2023-04-06 13:56:57 PDT
</div>
</div>
</body>