mingw: do not hide bare repositories
commit3377895dc414f7c659da304ea17d252d22b630e6
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerErik Faye-Lund <kusmabite@gmail.com>
Sat, 12 Mar 2011 10:51:17 +0000 (12 11:51 +0100)
tree9dc7200a40d2b2c262801825635e1fef1c99414e
parente91fdbabfe29b6e37f1bc582316a82f7784a0275
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