OSDN Git Service

Add Git official document to help
[tortoisegit/TortoiseGitJp.git] / doc / source / en / TortoiseGit / git_doc / git-unpack-objects.html.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\r
3 \r
4 <article lang="en" id="git-unpack-objects(1)">\r
5 <articleinfo>\r
6     <title>git-unpack-objects(1)</title>\r
7         <indexterm>\r
8                 <primary>git-unpack-objects(1)</primary>\r
9         </indexterm>\r
10 </articleinfo>\r
11 <simplesect id="_name">\r
12 <title>NAME</title>\r
13 <simpara>git-unpack-objects - Unpack objects from a packed archive</simpara>\r
14 </simplesect>\r
15 <simplesect id="_synopsis">\r
16 <title>SYNOPSIS</title>\r
17 <simpara><emphasis>git unpack-objects</emphasis> [-n] [-q] [-r] [--strict] &lt;pack-file</simpara>\r
18 </simplesect>\r
19 <simplesect id="_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 pack-file.  Therefore, nothing will be unpacked if you use\r
26 this command on a pack-file 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="_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&#8217;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="_author">\r
81 <title>Author</title>\r
82 <simpara>Written by Linus Torvalds &lt;<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>&gt;</simpara>\r
83 </simplesect>\r
84 <simplesect id="_documentation">\r
85 <title>Documentation</title>\r
86 <simpara>Documentation by Junio C Hamano</simpara>\r
87 </simplesect>\r
88 <simplesect id="_git">\r
89 <title>GIT</title>\r
90 <simpara>Part of the <xref linkend="git(1)"/> suite</simpara>\r
91 </simplesect>\r
92 </article>\r