summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:39 (GMT)
commitbfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e (patch)
tree4b41f6056f3e599052a554e13269838eb040d807 /cache.h
parent5bfc50d6fe58ec38f55efff43220dc3274b4629b (diff)
parentebf31e70bbea010c9bb505578ae29532445b5a4d (diff)
downloadgit-bfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e.zip
git-bfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e.tar.gz
git-bfc99b63fe859e16ddcfcbe6ac09f98b8d06b34e.tar.bz2
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 'cache.h')
-rw-r--r--cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index eddf3e8..6b80a17 100644
--- a/cache.h
+++ b/cache.h
@@ -701,6 +701,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,