Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2018-06-27 07:46:52 +0300
committerJunio C Hamano <gitster@pobox.com>2018-06-27 22:17:17 +0300
commit51d1863168ddae9010a3fcadca8f2502389fdbc2 (patch)
treef590a0709317cd4a0fbd963396770deadc990cbe /dir.c
parent45e851cb4443188db537d9e1c407ab4193ac58ed (diff)
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>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
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))