<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
<head>\r
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 7.0.1" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
<style type="text/css">\r
/* Debug borders */\r
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-tar-tree</em> <tree-ish> [ <base> ]</p>\r
+<p><em>git-tar-tree</em> [--remote=<repo>] <tree-ish> [ <base> ]</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
Additionally the commit ID is stored in a global extended pax header.\r
It can be extracted using git-get-tar-commit-id.</p>\r
</div>\r
+<h2>OPTIONS</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+<tree-ish>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The tree or commit to produce tar archive for. If it is\r
+ the object name of a commit object.\r
+</p>\r
+</dd>\r
+<dt>\r
+<base>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Leading path to the files in the resulting tar archive.\r
+</p>\r
+</dd>\r
+<dt>\r
+--remote=<repo>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Instead of making a tar archive from local repository,\r
+ retrieve a tar archive from a remote repository.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>Examples</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+git tar-tree HEAD | (cd /var/tmp/ && mkdir junk && tar Cxf junk -)\r
+</dt>\r
+<dd>\r
+<p>\r
+ Create a tar archive that contains the contents of the\r
+ latest commit on the current branch, and extracts it in\r
+ <tt>/var/tmp/junk</tt> directory.\r
+</p>\r
+</dd>\r
+</dl>\r
+<p>git tar-tree v2.6.17 linux-2.6.17 | gzip >linux-2.6.17.tar.gz</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>Create a tarball for v2.6.17 release.</tt></pre>\r
+</div></div>\r
+<p>git tar-tree --remote=example.com:git.git v0.99 >git-0.99.tar</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>Get a tarball v0.99 from example.com.</tt></pre>\r
+</div></div>\r
+</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
<p>Written by Rene Scharfe.</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 27-Dec-2005 00:16:50 PDT\r
+Last updated 07-Jun-2006 19:51:32 UTC\r
</div>\r
</div>\r
</body>\r