summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-07-18 12:20:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-18 12:20:34 -0700
commit3c5b6ee92e3f0a9059cd758ed32e71e41a1a55a7 (patch)
treea3064466a914129ff6ca01f108315139017ca824 /dir.c
parentMerge branch 'js/rebase-recreate-merge' (diff)
parentdir.c: fix typos in core.excludesfile comment (diff)
downloadtgif-3c5b6ee92e3f0a9059cd758ed32e71e41a1a55a7.tar.xz
Merge branch 'tz/exclude-doc-smallfixes'
Doc updates. * tz/exclude-doc-smallfixes: dir.c: fix typos in core.excludesfile comment gitignore.txt: clarify default core.excludesfile path
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 a1fe57e925..21e6f2520a 100644
--- a/dir.c
+++ b/dir.c
@@ -2498,7 +2498,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))