gitignore.txt: clarify default core.excludesfile path
The default core.excludesfile path is $XDG_CONFIG_HOME/git/ignore. $HOME/.config/git/ignore is used if XDG_CONFIG_HOME is empty or unset, as described later in the document. Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Todd Zullinger committed
Jun 27, 2018 at 00:46 UTC
45e851cb4443188db537d9e1c407ab4193ac58ed
1 file changed
+1
-1
Documentation/gitignore.txt
+1
-1
@@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore
7
8
SYNOPSIS
9
--------
10
-$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
10
+$XDG_CONFIG_HOME/git/ignore, $GIT_DIR/info/exclude, .gitignore
11
12
DESCRIPTION
13
-----------