mingw: do not hide bare repositories
commitfbe9dcfa95207702e060423a2308584ab340ce72
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 24 Apr 2011 23:42:48 +0000 (25 00:42 +0100)
tree6390176607b5c579f11bc15cfd8d3c72c37e7d32
parentc3e2378010f474f96aaa2d4ee2e8b09d5447a69e
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