aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hughes <matthewhughes934@gmail.com>2025-12-17 19:59:55 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-18 09:15:17 +0900
commit1722c2244bc0f5663c53f5dc8fc9ff5b8bf0e523 (patch)
tree4c68fc09b85df61a1d0877581565b32563ec3ced
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff)
downloadgit-1722c2244bc0f5663c53f5dc8fc9ff5b8bf0e523.tar.xz
docs: note the type of core.attributesfile
The previous wording: > Path expansions are made the same way as for `core.excludesFile`. required one to check the docs for 'core.excludesFile' and from there the definition of the pathname variable type to understand the path expansion behaviour of this variable. Instead, just link directly to the pathname type. This change is basically the same rewording as was done to 'core.excludesFile' in dca83abd (config: describe 'pathname' value type, 2016-04-29). Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/config/core.adoc7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/config/core.adoc b/Documentation/config/core.adoc
index 11efad189e..62b4f5b654 100644
--- a/Documentation/config/core.adoc
+++ b/Documentation/config/core.adoc
@@ -492,10 +492,9 @@ core.askPass::
command-line argument and write the password on its STDOUT.
core.attributesFile::
- In addition to `.gitattributes` (per-directory) and
- `.git/info/attributes`, Git looks into this file for attributes
- (see linkgit:gitattributes[5]). Path expansions are made the same
- way as for `core.excludesFile`. Its default value is
+ Specifies the pathname to the file that contains attributes (see
+ linkgit:gitattributes[5]), in addition to `.gitattributes` (per-directory)
+ and `.git/info/attributes`. Its default value is
`$XDG_CONFIG_HOME/git/attributes`. If `$XDG_CONFIG_HOME` is either not
set or empty, `$HOME/.config/git/attributes` is used instead.