diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-26 13:17:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-26 13:17:23 -0700 |
commit | e29300d69fb8e003b36f155a5f286d72ee5a557f (patch) | |
tree | d22a3ff686090407694d7e87bb3bf9901b3951db /cache.h | |
parent | 968004c39c65e8a5d1a0b86af75fcf16a5eb6835 (diff) | |
parent | ebf31e70bbea010c9bb505578ae29532445b5a4d (diff) | |
download | git-e29300d69fb8e003b36f155a5f286d72ee5a557f.tar.gz |
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 'cache.h')
-rw-r--r-- | cache.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -700,6 +700,14 @@ extern int ref_paranoia; extern char comment_line_char; extern int auto_comment_line_char; +/* Windows only */ +enum hide_dotfiles_type { + HIDE_DOTFILES_FALSE = 0, + HIDE_DOTFILES_TRUE, + HIDE_DOTFILES_DOTGITONLY +}; +extern enum hide_dotfiles_type hide_dotfiles; + enum branch_track { BRANCH_TRACK_UNSPECIFIED = -1, BRANCH_TRACK_NEVER = 0, |