Updated git_doc to git 1.8
[TortoiseGit.git] / doc / source / en / TortoiseGit / git_doc / git-pack-redundant.xml
blobbeb5dd20a6a6c40bdddb04ed949282aed01ba249
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">\r
3 \r
4 <sect2 lang="en" id="git-pack-redundant(1)">\r
5     <title>git-pack-redundant(1)</title>\r
6 <indexterm>\r
7 <primary>git-pack-redundant(1)</primary>\r
8 </indexterm>\r
9 <simplesect id="git-pack-redundant(1)__name">\r
10 <title>NAME</title>\r
11 <simpara>git-pack-redundant - Find redundant pack files</simpara>\r
12 </simplesect>\r
13 <simplesect id="git-pack-redundant(1)__synopsis">\r
14 <title>SYNOPSIS</title>\r
15 <blockquote>\r
16 <literallayout><emphasis>git pack-redundant</emphasis> [ --verbose ] [ --alt-odb ] &lt; --all | .pack filename &#8230; &gt;</literallayout>\r
17 </blockquote>\r
18 </simplesect>\r
19 <simplesect id="git-pack-redundant(1)__description">\r
20 <title>DESCRIPTION</title>\r
21 <simpara>This program computes which packs in your repository\r
22 are redundant. The output is suitable for piping to\r
23 <emphasis>xargs rm</emphasis> if you are in the root of the repository.</simpara>\r
24 <simpara><emphasis>git pack-redundant</emphasis> accepts a list of objects on standard input. Any objects\r
25 given will be ignored when checking which packs are required. This makes the\r
26 following command useful when wanting to remove packs which contain unreachable\r
27 objects.</simpara>\r
28 <simpara>git fsck --full --unreachable | cut -d ' ' -f3 | \\r
29 git pack-redundant --all | xargs rm</simpara>\r
30 </simplesect>\r
31 <simplesect id="git-pack-redundant(1)__options">\r
32 <title>OPTIONS</title>\r
33 <variablelist>\r
34 <varlistentry>\r
35 <term>\r
36 --all\r
37 </term>\r
38 <listitem>\r
39 <simpara>\r
40         Processes all packs. Any filenames on the command line are ignored.\r
41 </simpara>\r
42 </listitem>\r
43 </varlistentry>\r
44 <varlistentry>\r
45 <term>\r
46 --alt-odb\r
47 </term>\r
48 <listitem>\r
49 <simpara>\r
50         Don't require objects present in packs from alternate object\r
51         directories to be present in local packs.\r
52 </simpara>\r
53 </listitem>\r
54 </varlistentry>\r
55 <varlistentry>\r
56 <term>\r
57 --verbose\r
58 </term>\r
59 <listitem>\r
60 <simpara>\r
61         Outputs some statistics to stderr. Has a small performance penalty.\r
62 </simpara>\r
63 </listitem>\r
64 </varlistentry>\r
65 </variablelist>\r
66 </simplesect>\r
67 <simplesect id="git-pack-redundant(1)__see_also">\r
68 <title>SEE ALSO</title>\r
69 <simpara><xref linkend="git-pack-objects(1)" />\r
70 <xref linkend="git-repack(1)" />\r
71 <xref linkend="git-prune-packed(1)" /></simpara>\r
72 </simplesect>\r
73 <simplesect id="git-pack-redundant(1)__git">\r
74 <title>GIT</title>\r
75 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>\r
76 </simplesect>\r
77 </sect2>\r