diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-27 10:44:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-27 10:44:04 -0800 |
commit | ac355298b1bf8ba46aeb4aa7247b470d77ab5631 (patch) | |
tree | 831eecfad4bb4f2ee34d5b7dbeecc04cae78ce6b /Documentation | |
parent | Merge branch 'jc/maint-pull-docfix' (diff) | |
parent | gitattributes: document more clearly where macros are allowed (diff) | |
download | tgif-ac355298b1bf8ba46aeb4aa7247b470d77ab5631.tar.xz |
Merge branch 'mh/attr-macro-doc'
* mh/attr-macro-doc:
gitattributes: document more clearly where macros are allowed
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gitattributes.txt | 9 |
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 |