summaryrefslogtreecommitdiffstats
path: root/git-archive.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-02-12 20:51:24 +0000
committerJunio C Hamano <junio@kernel.org>2010-02-12 20:51:24 +0000
commit1123f30049dc3e8a293e88e621cc52971dc415e7 (patch)
tree4f01be337dbce2509f6eca6a6b14763bbc153456 /git-archive.html
parentb2628b18098c5ac2facedf7b1808f37bd50fa9dc (diff)
downloadgit-htmldocs-1123f30049dc3e8a293e88e621cc52971dc415e7.tar.gz
Autogenerated HTML docs for v1.7.0-rc2-34-g9b4c8
Diffstat (limited to 'git-archive.html')
-rw-r--r--git-archive.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-archive.html b/git-archive.html
index b504512c6..a8346e24c 100644
--- a/git-archive.html
+++ b/git-archive.html
@@ -515,6 +515,13 @@ export-subst
</p>
</dd>
</dl></div>
+<div class="para"><p>Note that attributes are by default taken from the <tt>.gitattributes</tt> files
+in the tree that is being archived. If you want to tweak the way the
+output is generated after the fact (e.g. you committed without adding an
+appropriate export-ignore in its <tt>.gitattributes</tt>), adjust the checked out
+<tt>.gitattributes</tt> file as necessary and use <tt>--work-tree-attributes</tt>
+option. Alternatively you can keep necessary attributes that should apply
+while archiving any tree in your <tt>$GIT_DIR/info/attributes</tt> file.</p></div>
</div>
<h2 id="_examples">EXAMPLES</h2>
<div class="sectionbody">
@@ -585,7 +592,7 @@ git archive -o latest.zip HEAD
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-01-21 17:44:21 UTC
+Last updated 2010-02-12 20:51:08 UTC
</div>
</div>
</body>