summaryrefslogtreecommitdiffstats
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-10 15:50:57 -0700
committerJunio C Hamano <gitster@pobox.com>2012-10-10 15:50:57 -0700
commit6631a0922904694033bd0c6951383eaa7efdb46e (patch)
tree60a3e665419a49a273913aae2750795932fc270b /gitattributes.txt
parentf9ad45cd463e4831a81312a8db7a86e4217b8990 (diff)
downloadgit-htmldocs-6631a0922904694033bd0c6951383eaa7efdb46e.tar.gz
Autogenerated HTML docs for v1.8.0-rc1-18-gc5fe2
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
index 99ed04d7a..ba02d4de5 100644
--- a/gitattributes.txt
+++ b/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