diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-06 23:38:27 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-06 23:38:28 +0300 |
commit | ae61aecb9e338ab02a7d3cced40135ab43880093 (patch) | |
tree | 4f54b5799fad784ae8976ee1048af047e0908f42 /Documentation | |
parent | 119e82a515e279548cd82aaf74f75927c75adfa1 (diff) | |
parent | fcf31daae4cdb71ec367aac0d2cbeef779e97451 (diff) |
Merge branch 'jk/document-pack-redundant-deprecation'
Document that we have marked "pack-redundant" as deprecated.
* jk/document-pack-redundant-deprecation:
pack-redundant: document deprecation
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-pack-redundant.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/git-pack-redundant.txt b/Documentation/git-pack-redundant.txt index 99ef13839d..13c3eb5ec9 100644 --- a/Documentation/git-pack-redundant.txt +++ b/Documentation/git-pack-redundant.txt @@ -11,6 +11,20 @@ SYNOPSIS [verse] 'git pack-redundant' [--verbose] [--alt-odb] (--all | <pack-filename>...) +WARNING +------- +`git pack-redundant` 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 `git gc` to +do so, which will put objects into a new pack, removing duplicates. + +Running `pack-redundant` without the `--i-still-use-this` flag will fail +in this release. If you believe you have a use case for which +`pack-redundant` is better suited and oppose this removal, please +contact the Git mailing list at git@vger.kernel.org. More information +about the list is available at https://git-scm.com/community. + DESCRIPTION ----------- This program computes which packs in your repository |