From: Todd Zullinger Date: Wed, 27 Jun 2018 04:46:52 +0000 (-0400) Subject: dir.c: fix typos in core.excludesfile comment X-Git-Tag: v2.19.0-rc0~149^2 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=51d1863168ddae9010a3fcadca8f2502389fdbc2;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/dir.c b/dir.c index 7c4b45e30e..3f46acf5e5 100644 --- a/dir.c +++ b/dir.c @@ -2475,7 +2475,7 @@ void setup_standard_excludes(struct dir_struct *dir) { dir->exclude_per_dir = ".gitignore"; - /* core.excludefile defaulting to $XDG_HOME/git/ignore */ + /* core.excludesfile defaulting to $XDG_CONFIG_HOME/git/ignore */ if (!excludes_file) excludes_file = xdg_config_home("ignore"); if (excludes_file && !access_or_warn(excludes_file, R_OK, 0))