mingw: do not hide bare repositories
commit65adadf7cd39826efd847f4e5a755c8128cdccd5
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 27 Oct 2011 08:51:55 +0000 (27 09:51 +0100)
tree9e28a5c79d328fb3c757da409797a34da39b16fb
parent5bec3d490c9e2371ed65800bf9ca2c5687c45d29
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