Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
dir.c: fix typos in core.excludesfile comment
author
Todd Zullinger
<tmz@pobox.com>
Wed, 27 Jun 2018 04:46:52 +0000
(
00:46
-0400)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 27 Jun 2018 19:17:17 +0000
(12:17 -0700)
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>
dir.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
45e851c
)
diff --git
a/dir.c
b/dir.c
index 7c4b45e30e0ac87527ff0ef3fd8c90670a1e2064..3f46acf5e5be939aebd65c645586061be522ae4e 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-2475,7
+2475,7
@@
void setup_standard_excludes(struct dir_struct *dir)
{
dir->exclude_per_dir = ".gitignore";
- /* core.exclude
file defaulting to $XD
G_HOME/git/ignore */
+ /* core.exclude
sfile defaulting to $XDG_CONFI
G_HOME/git/ignore */
if (!excludes_file)
excludes_file = xdg_config_home("ignore");
if (excludes_file && !access_or_warn(excludes_file, R_OK, 0))