summaryrefslogtreecommitdiffstats
path: root/environment.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-26 22:17:23 +0200
committerJunio C Hamano <gitster@pobox.com>2016-05-26 22:17:23 +0200
commite29300d69fb8e003b36f155a5f286d72ee5a557f (patch)
treed22a3ff686090407694d7e87bb3bf9901b3951db /environment.c
parentMerge branch 'kf/gpg-sig-verification-doc' into maint (diff)
parentmingw: remove unnecessary definition (diff)
downloadgit-e29300d69fb8e003b36f155a5f286d72ee5a557f.tar.xz
git-e29300d69fb8e003b36f155a5f286d72ee5a557f.zip
Merge branch 'js/windows-dotgit' into maint
On Windows, .git and optionally any files whose name starts with a dot are now marked as hidden, with a core.hideDotFiles knob to customize this behaviour. * js/windows-dotgit: mingw: remove unnecessary definition mingw: introduce the 'core.hideDotFiles' setting
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 57acb2fe2a..96160a75a5 100644
--- a/environment.c
+++ b/environment.c
@@ -63,6 +63,7 @@ int core_apply_sparse_checkout;
int merge_log_config = -1;
int precomposed_unicode = -1; /* see probe_utf8_pathname_composition() */
unsigned long pack_size_limit_cfg;
+enum hide_dotfiles_type hide_dotfiles = HIDE_DOTFILES_DOTGITONLY;
#ifndef PROTECT_HFS_DEFAULT
#define PROTECT_HFS_DEFAULT 0