mingw: do not hide bare repositories
commitd0c163a3a281a09eff9daed0146cca96645f12c0
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 4 Jun 2011 13:36:32 +0000 (4 15:36 +0200)
tree926fd1664fa0bf0f2ad488060867cc4cd043d60d
parent06d0a8cd505b01f926ab1de21c3c57aa681c5dfe
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