[PATCH] git-archive documentation: .gitattributes must be committed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Francois Marier
Date: Tuesday, February 9, 2010 - 7:51 pm

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] git-archive documentation: .gitattributes must be ..., Francois Marier, (Tue Feb 9, 7:51 pm)
Re: [PATCH] git-archive documentation: .gitattributes must ..., =?ISO-8859-15?Q?Ren= ..., (Wed Feb 10, 12:07 pm)
Re: [PATCH] git-archive documentation: .gitattributes must ..., =?UTF-8?B?UmVuw6kgU2 ..., (Wed Feb 10, 1:00 pm)