Update git documentation
[TortoiseGit.git] / doc / source / en / TortoiseGit / git_doc / git-unpack-objects.xml
blob9ae741b5a3f91131b015ba2299d36faf12958883
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-unpack-objects(1)">\r
5     <title>git-unpack-objects(1)</title>\r
6 <indexterm>\r
7 <primary>git-unpack-objects(1)</primary>\r
8 </indexterm>\r
9 <simplesect id="git-unpack-objects(1)__name">\r
10 <title>NAME</title>\r
11 <simpara>git-unpack-objects - Unpack objects from a packed archive</simpara>\r
12 </simplesect>\r
13 <simplesect id="git-unpack-objects(1)__synopsis">\r
14 <title>SYNOPSIS</title>\r
15 <blockquote>\r
16 <literallayout><emphasis>git unpack-objects</emphasis> [-n] [-q] [-r] [--strict]</literallayout>\r
17 </blockquote>\r
18 </simplesect>\r
19 <simplesect id="git-unpack-objects(1)__description">\r
20 <title>DESCRIPTION</title>\r
21 <simpara>Read a packed archive (.pack) from the standard input, expanding\r
22 the objects contained within and writing them into the repository in\r
23 "loose" (one object per file) format.</simpara>\r
24 <simpara>Objects that already exist in the repository will <emphasis role="strong">not</emphasis> be unpacked\r
25 from the packfile.  Therefore, nothing will be unpacked if you use\r
26 this command on a packfile that exists within the target repository.</simpara>\r
27 <simpara>See <xref linkend="git-repack(1)" /> for options to generate\r
28 new packs and replace existing ones.</simpara>\r
29 </simplesect>\r
30 <simplesect id="git-unpack-objects(1)__options">\r
31 <title>OPTIONS</title>\r
32 <variablelist>\r
33 <varlistentry>\r
34 <term>\r
35 -n\r
36 </term>\r
37 <listitem>\r
38 <simpara>\r
39         Dry run.  Check the pack file without actually unpacking\r
40         the objects.\r
41 </simpara>\r
42 </listitem>\r
43 </varlistentry>\r
44 <varlistentry>\r
45 <term>\r
46 -q\r
47 </term>\r
48 <listitem>\r
49 <simpara>\r
50         The command usually shows percentage progress.  This\r
51         flag suppresses it.\r
52 </simpara>\r
53 </listitem>\r
54 </varlistentry>\r
55 <varlistentry>\r
56 <term>\r
57 -r\r
58 </term>\r
59 <listitem>\r
60 <simpara>\r
61         When unpacking a corrupt packfile, the command dies at\r
62         the first corruption.  This flag tells it to keep going\r
63         and make the best effort to recover as many objects as\r
64         possible.\r
65 </simpara>\r
66 </listitem>\r
67 </varlistentry>\r
68 <varlistentry>\r
69 <term>\r
70 --strict\r
71 </term>\r
72 <listitem>\r
73 <simpara>\r
74         Don't write objects with broken content or links.\r
75 </simpara>\r
76 </listitem>\r
77 </varlistentry>\r
78 </variablelist>\r
79 </simplesect>\r
80 <simplesect id="git-unpack-objects(1)__git">\r
81 <title>GIT</title>\r
82 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>\r
83 </simplesect>\r
84 </sect2>\r