git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-archive documentation: .gitattributes must be committed
@ 2010-02-10  2:51 Francois Marier
  2010-02-10 19:07 ` René Scharfe
  0 siblings, 1 reply; 8+ messages in thread
From: Francois Marier @ 2010-02-10  2:51 UTC (permalink / raw)
  To: git; +Cc: Francois Marier

Add a note to the documentation stating that the .gitattributes
file must be present (i.e. committed) in the named tree that is
exported.

This can be a bit confusing because it's different from .gitignore
which takes effect as soon as the file is created.

Signed-off-by: Francois Marier <fmarier@gmail.com>
---
 Documentation/git-archive.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index 799c8b6..fcd681d 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -112,6 +112,9 @@ export-subst::
 	expand several placeholders when adding this file to an archive.
 	See linkgit:gitattributes[5] for details.
 
+The .gitattributes file must be present in the named tree for it to take
+effect. Uncommitted attributes will not be considered in exports.
+
 EXAMPLES
 --------
 git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)::
-- 
1.6.6.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-02-11  3:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10  2:51 [PATCH] git-archive documentation: .gitattributes must be committed Francois Marier
2010-02-10 19:07 ` René Scharfe
2010-02-10 19:27   ` Junio C Hamano
2010-02-10 19:33     ` Junio C Hamano
2010-02-10 20:00     ` René Scharfe
2010-02-10 20:18       ` Junio C Hamano
2010-02-10 20:33         ` Junio C Hamano
2010-02-11  3:48           ` Francois Marier

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).