summaryrefslogtreecommitdiffstats
path: root/git-archive.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-08-23 00:25:09 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-08-23 00:25:09 +0000
commitbdebabb5d714259fb5c60f5f85a0f13a06afe2eb (patch)
tree66d0f2fde2ede4750ca6be799e96e62c91b0f14e /git-archive.html
parent41031ae32d11f7150c45c38cf6da871237a8141e (diff)
downloadgit-htmldocs-bdebabb5d714259fb5c60f5f85a0f13a06afe2eb.tar.gz
Autogenerated HTML docs for v1.5.3-rc6-9-gaabb2
Diffstat (limited to 'git-archive.html')
-rw-r--r--git-archive.html26
1 files changed, 15 insertions, 11 deletions
diff --git a/git-archive.html b/git-archive.html
index f93361a51..402de7cee 100644
--- a/git-archive.html
+++ b/git-archive.html
@@ -388,16 +388,20 @@ path
</div>
<h2>CONFIGURATION</h2>
<div class="sectionbody">
-<p>By default, file and directories modes are set to 0666 or 0777 in tar
-archives. It is possible to change this by setting the "umask" variable
-in the repository configuration as follows :</p>
-<div class="literalblock">
-<div class="content">
-<pre><tt>umask = 002 ;# group friendly</tt></pre>
-</div></div>
-<p>The special umask value "user" indicates that the user's current umask
-will be used instead. The default value remains 0, which means world
-readable/writable files and directories.</p>
+<dl>
+<dt>
+tar.umask
+</dt>
+<dd>
+<p>
+ This variable can be used to restrict the permission bits of
+ tar archive entries. The default is 0002, which turns off the
+ world write bit. The special value "user" indicates that the
+ archiving user's umask will be used instead. See umask(2) for
+ details.
+</p>
+</dd>
+</dl>
</div>
<h2>EXAMPLES</h2>
<div class="sectionbody">
@@ -454,7 +458,7 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ &gt; git-1.4.0-d
</div>
<div id="footer">
<div id="footer-text">
-Last updated 19-Jul-2007 02:09:31 UTC
+Last updated 23-Aug-2007 00:24:02 UTC
</div>
</div>
</body>