mingw: do not hide bare repositories
commit2e1f25091e68785a19df3feb308839db3c38f3b6
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 4 Nov 2011 18:40:10 +0000 (4 13:40 -0500)
tree2fc0a9af0fea603af177f1291b92d30595ff1292
parent8089c85c07fd6b3df6f55bafce8adf057e271161
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