git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: roylee@andestech.com
To: git@vger.kernel.org
Cc: Roy Lee <roylee17@gmail.com>
Subject: [PATCH] Documentation/git-archive.txt: Note attributes
Date: Wed,  4 Mar 2009 00:52:48 +0800	[thread overview]
Message-ID: <1236099168-20231-1-git-send-email-roylee@andestech.com> (raw)

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

             reply	other threads:[~2009-03-03 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 16:52 roylee [this message]
2009-03-03 18:27 ` [PATCH] Documentation/git-archive.txt: Note attributes Junio C Hamano
2009-03-03 18:50   ` Roy Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1236099168-20231-1-git-send-email-roylee@andestech.com \
    --to=roylee@andestech.com \
    --cc=git@vger.kernel.org \
    --cc=roylee17@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).