Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-11 01:54:25 +0400
committerJunio C Hamano <gitster@pobox.com>2012-10-11 01:54:33 +0400
commit8d47dc7f2ddaa70b388fb3f739b9339de826a7fb (patch)
tree7de3c16ca8a770f90ecb63b3fe75b39a75bef097 /Documentation/gitattributes.txt
parentd5e7c0c21c905bfb71fba13dc9dbed431c53a37b (diff)
parent40701adbcbbc1e3e4485562a36343f4781e62be5 (diff)
Sync with maint
* maint: attr: a note about the order of .gitattributes lookup
Diffstat (limited to 'Documentation/gitattributes.txt')
-rw-r--r--Documentation/gitattributes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 99ed04d7ab..ba02d4de59 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -66,6 +66,11 @@ is from the path in question, the lower its precedence). Finally
global and system-wide files are considered (they have the lowest
precedence).
+When the `.gitattributes` file is missing from the work tree, the
+path in the index is used as a fall-back. During checkout process,
+`.gitattributes` in the index is used and then the file in the
+working tree is used as a fall-back.
+
If you wish to affect only a single repository (i.e., to assign
attributes to files that are particular to
one user's workflow for that repository), then