OSDN Git Service

Add Git official document to help
[tortoisegit/TortoiseGitJp.git] / doc / source / en / TortoiseGit / git_doc / git-get-tar-commit-id.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-get-tar-commit-id(1)">\r
5 <articleinfo>\r
6     <title>git-get-tar-commit-id(1)</title>\r
7         <indexterm>\r
8                 <primary>git-get-tar-commit-id(1)</primary>\r
9         </indexterm>\r
10 </articleinfo>\r
11 <simplesect id="_name">\r
12 <title>NAME</title>\r
13 <simpara>git-get-tar-commit-id - Extract commit ID from an archive created using git-archive</simpara>\r
14 </simplesect>\r
15 <simplesect id="_synopsis">\r
16 <title>SYNOPSIS</title>\r
17 <simpara><emphasis>git get-tar-commit-id</emphasis> &lt; &lt;tarfile&gt;</simpara>\r
18 </simplesect>\r
19 <simplesect id="_description">\r
20 <title>DESCRIPTION</title>\r
21 <simpara>Acts as a filter, extracting the commit ID stored in archives created by\r
22 <emphasis>git-archive</emphasis>.  It reads only the first 1024 bytes of input, thus its\r
23 runtime is not influenced by the size of &lt;tarfile&gt; very much.</simpara>\r
24 <simpara>If no commit ID is found, <emphasis>git-get-tar-commit-id</emphasis> quietly exists with a\r
25 return code of 1.  This can happen if &lt;tarfile&gt; had not been created\r
26 using <emphasis>git-archive</emphasis> or if the first parameter of <emphasis>git-archive</emphasis> had been\r
27 a tree ID instead of a commit ID or tag.</simpara>\r
28 </simplesect>\r
29 <simplesect id="_author">\r
30 <title>Author</title>\r
31 <simpara>Written by Rene Scharfe &lt;<ulink url="mailto:rene.scharfe@lsrfire.ath.cx">rene.scharfe@lsrfire.ath.cx</ulink>&gt;</simpara>\r
32 </simplesect>\r
33 <simplesect id="_documentation">\r
34 <title>Documentation</title>\r
35 <simpara>Documentation by Junio C Hamano and the git-list &lt;<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>&gt;.</simpara>\r
36 </simplesect>\r
37 <simplesect id="_git">\r
38 <title>GIT</title>\r
39 <simpara>Part of the <xref linkend="git(1)"/> suite</simpara>\r
40 </simplesect>\r
41 </article>\r