Skip to content

Commit 1722c22

Browse files
matthewhughes934gitster
authored andcommitted
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 dca83ab (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>
1 parent 9a2fb14 commit 1722c22

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Documentation/config/core.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,9 @@ core.askPass::
492492
command-line argument and write the password on its STDOUT.
493493

494494
core.attributesFile::
495-
In addition to `.gitattributes` (per-directory) and
496-
`.git/info/attributes`, Git looks into this file for attributes
497-
(see linkgit:gitattributes[5]). Path expansions are made the same
498-
way as for `core.excludesFile`. Its default value is
495+
Specifies the pathname to the file that contains attributes (see
496+
linkgit:gitattributes[5]), in addition to `.gitattributes` (per-directory)
497+
and `.git/info/attributes`. Its default value is
499498
`$XDG_CONFIG_HOME/git/attributes`. If `$XDG_CONFIG_HOME` is either not
500499
set or empty, `$HOME/.config/git/attributes` is used instead.
501500

0 commit comments

Comments
 (0)