blob: 5f9435e59b49fec1e37c65f1bfdc38be3704c4e5 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-pack-redundant(1)
2=====================
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-pack-redundant - Find redundant pack files
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamanofce7c7e2008-07-02 03:06:3811'git pack-redundant' [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >
Junio C Hamano1a4e8412005-12-27 08:17:2312
13DESCRIPTION
14-----------
15This program computes which packs in your repository
16are redundant. The output is suitable for piping to
Junio C Hamanofce7c7e2008-07-02 03:06:3817`xargs rm` if you are in the root of the repository.
Junio C Hamano1a4e8412005-12-27 08:17:2318
Junio C Hamanoba4b9282008-07-06 05:20:3119'git-pack-redundant' accepts a list of objects on standard input. Any objects
Junio C Hamanoa77a5132007-06-08 16:13:4420given will be ignored when checking which packs are required. This makes the
Junio C Hamano1a4e8412005-12-27 08:17:2321following command useful when wanting to remove packs which contain unreachable
22objects.
23
Junio C Hamanofce7c7e2008-07-02 03:06:3824git fsck --full --unreachable | cut -d ' ' -f3 | \
25git pack-redundant --all | xargs rm
Junio C Hamano1a4e8412005-12-27 08:17:2326
27OPTIONS
28-------
29
30
31--all::
Junio C Hamano51c2ab02006-07-09 20:38:5432Processes all packs. Any filenames on the command line are ignored.
Junio C Hamano1a4e8412005-12-27 08:17:2333
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
Junio C Hamano9049d912008-05-29 02:09:5049SEE ALSO
Junio C Hamano1a4e8412005-12-27 08:17:2350--------
Junio C Hamano35738e82008-01-07 07:55:4651linkgit:git-pack-objects[1]
52linkgit:git-repack[1]
53linkgit:git-prune-packed[1]
Junio C Hamano1a4e8412005-12-27 08:17:2354
55GIT
56---
Junio C Hamanof7c042d2008-06-06 22:50:5357Part of the linkgit:git[1] suite