We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472e535 commit 0a11955Copy full SHA for 0a11955
compat/mingw.c
@@ -300,6 +300,10 @@ void mingw_mark_as_git_dir(const char *dir)
300
if (hide_dotfiles != HIDE_DOTFILES_FALSE && !is_bare_repository())
301
if (xutftowcs_path(wdir, dir) < 0 || make_hidden(wdir))
302
warning("Failed to make '%s' hidden", dir);
303
+ git_config_set("core.hideDotFiles",
304
+ hide_dotfiles == HIDE_DOTFILES_FALSE ? "false" :
305
+ (hide_dotfiles == HIDE_DOTFILES_DOTGITONLY ?
306
+ "dotGitOnly" : "true"));
307
}
308
309
int mingw_mkdir(const char *path, int mode)
0 commit comments