prune-packed: migrate to parse-options
[git/git.git] / Documentation / git-prune-packed.txt
1 git-prune-packed(1)
2 =====================
3
4 NAME
5 ----
6 git-prune-packed - Remove extra objects that are already in pack files
7
8
9 SYNOPSIS
10 --------
11 'git prune-packed' [-n|--dry-run] [-q|--quiet]
12
13
14 DESCRIPTION
15 -----------
16 This program searches the `$GIT_OBJECT_DIR` for all objects that currently
17 exist in a pack file as well as the independent object directories.
18
19 All such extra objects are removed.
20
21 A pack is a collection of objects, individually compressed, with delta
22 compression applied, stored in a single file, with an associated index file.
23
24 Packs are used to reduce the load on mirror systems, backup engines,
25 disk storage, etc.
26
27
28 OPTIONS
29 -------
30 -n::
31 --dry-run::
32 Don't actually remove any objects, only show those that would have been
33 removed.
34
35 -q::
36 --quiet::
37 Squelch the progress indicator.
38
39 Author
40 ------
41 Written by Linus Torvalds <torvalds@osdl.org>
42
43 Documentation
44 --------------
45 Documentation by Ryan Anderson <ryan@michonline.com>
46
47 SEE ALSO
48 --------
49 linkgit:git-pack-objects[1]
50 linkgit:git-repack[1]
51
52 GIT
53 ---
54 Part of the linkgit:git[1] suite