2005-11-10 02:16:13 +03:00
|
|
|
git-pack-redundant(1)
|
2005-11-09 04:23:55 +03:00
|
|
|
=====================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 02:53:37 +03:00
|
|
|
git-pack-redundant - Find redundant pack files
|
2005-11-09 04:23:55 +03:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2006-03-06 03:00:48 +03:00
|
|
|
'git-pack-redundant' [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >
|
2005-11-09 04:23:55 +03:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This program computes which packs in your repository
|
|
|
|
are redundant. The output is suitable for piping to
|
|
|
|
'xargs rm' if you are in the root of the repository.
|
|
|
|
|
2005-11-19 01:20:15 +03:00
|
|
|
git-pack-redundant accepts a list of objects on standard input. Any objects
|
|
|
|
given will be ignored when checking which packs are required. This makes the
|
|
|
|
following command useful when wanting to remove packs which contain unreachable
|
|
|
|
objects.
|
|
|
|
|
2007-01-29 03:33:58 +03:00
|
|
|
git-fsck --full --unreachable | cut -d ' ' -f3 | \
|
2005-11-19 01:20:15 +03:00
|
|
|
git-pack-redundant --all | xargs rm
|
|
|
|
|
2005-11-09 04:23:55 +03:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
2005-11-11 03:25:04 +03:00
|
|
|
--all::
|
2006-07-09 11:44:30 +04:00
|
|
|
Processes all packs. Any filenames on the command line are ignored.
|
2005-11-11 03:25:04 +03:00
|
|
|
|
|
|
|
--alt-odb::
|
|
|
|
Don't require objects present in packs from alternate object
|
|
|
|
directories to be present in local packs.
|
|
|
|
|
|
|
|
--verbose::
|
|
|
|
Outputs some statistics to stderr. Has a small performance penalty.
|
2005-11-09 04:23:55 +03:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
2005-11-12 09:16:59 +03:00
|
|
|
Written by Lukas Sandström <lukass@etek.chalmers.se>
|
2005-11-09 04:23:55 +03:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
2005-11-12 09:16:59 +03:00
|
|
|
Documentation by Lukas Sandström <lukass@etek.chalmers.se>
|
2005-11-09 04:23:55 +03:00
|
|
|
|
2006-03-05 09:20:07 +03:00
|
|
|
See Also
|
2005-11-09 04:23:55 +03:00
|
|
|
--------
|
|
|
|
gitlink:git-pack-objects[1]
|
|
|
|
gitlink:git-repack[1]
|
|
|
|
gitlink:git-prune-packed[1]
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the gitlink:git[7] suite
|
|
|
|
|