summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-01-27 10:44:04 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-27 10:44:04 -0800
commitac355298b1bf8ba46aeb4aa7247b470d77ab5631 (patch)
tree831eecfad4bb4f2ee34d5b7dbeecc04cae78ce6b
parentMerge branch 'jc/maint-pull-docfix' (diff)
parentgitattributes: document more clearly where macros are allowed (diff)
downloadtgif-ac355298b1bf8ba46aeb4aa7247b470d77ab5631.tar.xz
Merge branch 'mh/attr-macro-doc'
* mh/attr-macro-doc: gitattributes: document more clearly where macros are allowed
-rw-r--r--Documentation/gitattributes.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index b322a2666c..643c1ba929 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -930,9 +930,12 @@ state.
DEFINING MACRO ATTRIBUTES
-------------------------
-Custom macro attributes can be defined only in the `.gitattributes`
-file at the toplevel (i.e. not in any subdirectory). The built-in
-macro attribute "binary" is equivalent to:
+Custom macro attributes can be defined only in top-level gitattributes
+files (`$GIT_DIR/info/attributes`, the `.gitattributes` file at the
+top level of the working tree, or the global or system-wide
+gitattributes files), not in `.gitattributes` files in working tree
+subdirectories. The built-in macro attribute "binary" is equivalent
+to:
------------
[attr]binary -diff -merge -text