aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/config/attr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/config/attr.txt')
-rw-r--r--Documentation/config/attr.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/attr.txt b/Documentation/config/attr.txt
new file mode 100644
index 0000000000..1a482d6af2
--- /dev/null
+++ b/Documentation/config/attr.txt
@@ -0,0 +1,7 @@
+attr.tree::
+ A reference to a tree in the repository from which to read attributes,
+ instead of the `.gitattributes` file in the working tree. In a bare
+ repository, this defaults to `HEAD:.gitattributes`. If the value does
+ not resolve to a valid tree object, an empty tree is used instead.
+ When the `GIT_ATTR_SOURCE` environment variable or `--attr-source`
+ command line option are used, this configuration variable has no effect.