blob: 9fe86aef98e023e336e10b7352d914ff2f7f6a7d [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-pack-redundant(1)
2=====================
3
4NAME
5----
6git-pack-redundant - Program used to find redundant pack files.
7
8
9SYNOPSIS
10--------
11'git-pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >'
12
13DESCRIPTION
14-----------
15This program computes which packs in your repository
16are redundant. The output is suitable for piping to
17'xargs rm' if you are in the root of the repository.
18
19git-pack-redundant accepts a list of objects on standard input. Any objects
20given will be ignored when checking which packs are required. This makes the
21following command useful when wanting to remove packs which contain unreachable
22objects.
23
24git-fsck-objects --full --unreachable | cut -d ' ' -f3 | \
25git-pack-redundant --all | xargs rm
26
27OPTIONS
28-------
29
30
31--all::
32Processes all packs. Any filenames on the commandline are ignored.
33
34--alt-odb::
35Don't require objects present in packs from alternate object
36directories to be present in local packs.
37
38--verbose::
39Outputs some statistics to stderr. Has a small performance penalty.
40
41Author
42------
43Written by Lukas Sandström <lukass@etek.chalmers.se>
44
45Documentation
46--------------
47Documentation by Lukas Sandström <lukass@etek.chalmers.se>
48
49See-Also
50--------
51gitlink:git-pack-objects[1]
52gitlink:git-repack[1]
53gitlink:git-prune-packed[1]
54
55GIT
56---
57Part of the gitlink:git[7] suite
58