diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-17 14:38:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-17 14:38:39 -0700 |
commit | bfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e (patch) | |
tree | 4b41f6056f3e599052a554e13269838eb040d807 /environment.c | |
parent | 5bfc50d6fe58ec38f55efff43220dc3274b4629b (diff) | |
parent | ebf31e70bbea010c9bb505578ae29532445b5a4d (diff) | |
download | git-bfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e.tar.gz |
Merge branch 'js/windows-dotgit'
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c index 2857e3f366..ca72464a98 100644 --- a/environment.c +++ b/environment.c @@ -64,6 +64,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 |