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 37e202e commit 35d9901Copy full SHA for 35d9901
compat/mingw.c
@@ -302,6 +302,10 @@ void mingw_mark_as_git_dir(const char *dir)
302
if (hide_dotfiles != HIDE_DOTFILES_FALSE && !is_bare_repository())
303
if (xutftowcs_path(wdir, dir) < 0 || make_hidden(wdir))
304
warning("Failed to make '%s' hidden", dir);
305
+ git_config_set("core.hideDotFiles",
306
+ hide_dotfiles == HIDE_DOTFILES_FALSE ? "false" :
307
+ (hide_dotfiles == HIDE_DOTFILES_DOTGITONLY ?
308
+ "dotGitOnly" : "true"));
309
}
310
311
int mingw_mkdir(const char *path, int mode)
0 commit comments