git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation/git-archive.txt: Note attributes

From
Rroylee@andestech.com <roylee@andestech.com>
Date
Mar 3, 2009, 16:52 UTC
Message-ID
<1236099168-20231-1-git-send-email-roylee@andestech.com>
From: Roy Lee <roylee17@gmail.com>
---
 Documentation/git-archive.txt |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 41cbf9c..96f5424 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -88,6 +88,17 @@ tar.umask::
 	archiving user's umask will be used instead.  See umask(2) for
 	details.
 
+ATTRIBUTES
+----------------
+
+export-ignore::
+	Files and directories with the attribute export-ignore won't be added to archive files.
+	See linkgit:gitattributes[5] for details.
+
+export-subst::
+	If the attribute export-subst is set for a file then git will expand several placeholders when adding this file
+	to an archive.  See linkgit:gitattributes[5] for details.
+
 EXAMPLES
 --------
 git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
@@ -110,6 +121,11 @@ git archive --format=zip --prefix=git-docs/ HEAD:Documentation/ > git-1.4.0-docs
 	Put everything in the current head's Documentation/ directory
 	into 'git-1.4.0-docs.zip', with the prefix 'git-docs/'.
 
+
+SEE ALSO
+--------
+linkgit:gitattributes[5]
+
 Author
 ------
 Written by Franck Bui-Huu and Rene Scharfe.
-- 
1.6.1.3
Next: Junio C Hamano
Message 1 of 3 in “Documentation/git-archive.txt: Note attributes”
  1. Documentation/git-archive.txt: Note attributesroylee@andestech.com, Mar 3, 2009
  2. Junio C HamanoMar 3, 2009
  3. Roy LeeMar 3, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.