Skip to content

Commit 51d1863

Browse files
tmzullingergitster
authored andcommitted
dir.c: fix typos in core.excludesfile comment
Make it easier to find references to core.excludesfile and the default $XDG_CONFIG_HOME/git/ignore path. Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 45e851c commit 51d1863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,7 @@ void setup_standard_excludes(struct dir_struct *dir)
24752475
{
24762476
dir->exclude_per_dir = ".gitignore";
24772477

2478-
/* core.excludefile defaulting to $XDG_HOME/git/ignore */
2478+
/* core.excludesfile defaulting to $XDG_CONFIG_HOME/git/ignore */
24792479
if (!excludes_file)
24802480
excludes_file = xdg_config_home("ignore");
24812481
if (excludes_file && !access_or_warn(excludes_file, R_OK, 0))

0 commit comments

Comments
 (0)