mingw: do not hide bare repositories
commit3afaf64318d81d32478e919421b9fda7c0e7cede
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 30 Mar 2011 22:29:39 +0000 (31 00:29 +0200)
tree7d37c07e546561debfbd635d9825bc3c3ef8f1a5
parentce82269e606de7bba867d098939c0a006f38aeed
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