Hi, On Mon, 14 Dec 2009, Erik Faye-Lund wrote: > On Thu, Dec 10, 2009 at 9:35 AM, Yann Dirson <ydirson@xxxxxxxxxxxx> wrote: > > > [discussion revolving around ".*" being marked hidden on Windows] > > > > But maybe the situation is not so clear. That "hide dotfiles" was > > implemented so that ".git" at first, and then ".git*" files do not > > clutter the view of the project. But then, if a git repo has other > > dotfiles, those are really *part of* the versionned stuff, so I do not > > see why those should be hidden at all. After all, the .project, > > .classpath, and other eclipse project files have that name on windows > > too, and it will indeed *confuse* people to get them hidden. > > > > So should we have 2 classes of dotfiles, those "private to git", and > > the others, one class being hidden while the others are not ? I am > > not sure at all this would be a good idea either. Or maybe we should > > only get .git hidden - after all, that one is the only real metadata > > not part of the versionned stuff itself ? > > > > Maybe we should add some sort of "core.hidedotfiles = dotgitonly" > > setting, and make that the default ? That one does not appear to > > cause any problems to jgit, and eclipse itself has not business with > > it, so it would IMHO make sense. > > > > Opinions ? > > > > IF we were to go down this path, perhaps it would be even better to > use some sort of file-pattern or even squeeze this into gitattributes? > I guess something like ".* +hidden" should emulate the unix behaviour > (given that we add a hidden attribute). I don't think we have a global > gitattributes file though, so it'd have to be added to each repo where > the effect is desired, I guess. Actually, I think the original request was really for all the dot files, not just for .git. But I can see the reasoning behind hiding only .git, which I would not like to make the default, though. I would like to make Eclipse users set this explicitely in their /etc/gitconfig (possibly via the Git for Windows installer, just like the infamous -- and still broken -- core.autocrlf setting, if Sebastian is nice enough to make yet another page in the installer). So: I would definitely take a patch implementing "core.hidedotfiles = dotgitonly", but would hesitate to make it the default. Ciao, Dscho