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 <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Todd Zullinger committed Jun 27, 2018 at 00:46 UTC 51d1863168ddae9010a3fcadca8f2502389fdbc2
1 file changed +1 -1
dir.c
+1 -1
@@ -2475,7 +2475,7 @@ void setup_standard_excludes(struct dir_struct *dir)
2475 {
2476 dir->exclude_per_dir = ".gitignore";
2477
2478 - /* core.excludefile defaulting to $XDG_HOME/git/ignore */
2478 + /* core.excludesfile defaulting to $XDG_CONFIG_HOME/git/ignore */
2479 if (!excludes_file)
2480 excludes_file = xdg_config_home("ignore");
2481 if (excludes_file && !access_or_warn(excludes_file, R_OK, 0))