mingw: do not hide bare repositories
commitb2c475d62a1dd3139455b8965fe0b43a827c30b3
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:01:39 +0000 (14 14:01 -0600)
tree68dde99267616fd5c19d5365e540e1025190ac84
parente7ac2dd42accd15fed47755fc725a483718469a8
mingw: do not hide bare repositories

As reported in msysGit issue 450 the recent change to set the windows
hidden attribute on the .git directory is being applied to bare git
directories. This patch excludes bare repositories.

Tested-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/mingw.c