File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore
7
7
8
8
SYNOPSIS
9
9
--------
10
- $HOME/.config /git/ignore, $GIT_DIR/info/exclude, .gitignore
10
+ $XDG_CONFIG_HOME /git/ignore, $GIT_DIR/info/exclude, .gitignore
11
11
12
12
DESCRIPTION
13
13
-----------
Original file line number Diff line number Diff line change @@ -2498,7 +2498,7 @@ void setup_standard_excludes(struct dir_struct *dir)
2498
2498
{
2499
2499
dir -> exclude_per_dir = ".gitignore" ;
2500
2500
2501
- /* core.excludefile defaulting to $XDG_HOME /git/ignore */
2501
+ /* core.excludesfile defaulting to $XDG_CONFIG_HOME /git/ignore */
2502
2502
if (!excludes_file )
2503
2503
excludes_file = xdg_config_home ("ignore" );
2504
2504
if (excludes_file && !access_or_warn (excludes_file , R_OK , 0 ))
You can’t perform that action at this time.
0 commit comments