Skip to content

Commit ae61aec

Browse files
committed
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
2 parents 119e82a + fcf31da commit ae61aec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/git-pack-redundant.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ SYNOPSIS
1111
[verse]
1212
'git pack-redundant' [--verbose] [--alt-odb] (--all | <pack-filename>...)
1313

14+
WARNING
15+
-------
16+
`git pack-redundant` has been deprecated and is scheduled for removal in
17+
a future version of Git. Because it can only remove entire duplicate
18+
packs and not individual duplicate objects, it is generally not a useful
19+
tool for reducing repository size. You are better off using `git gc` to
20+
do so, which will put objects into a new pack, removing duplicates.
21+
22+
Running `pack-redundant` without the `--i-still-use-this` flag will fail
23+
in this release. If you believe you have a use case for which
24+
`pack-redundant` is better suited and oppose this removal, please
25+
contact the Git mailing list at [email protected]. More information
26+
about the list is available at https://git-scm.com/community.
27+
1428
DESCRIPTION
1529
-----------
1630
This program computes which packs in your repository

0 commit comments

Comments
 (0)