mingw: do not hide bare repositories
commitc96eaac51c8ca569a8f3834d3301d49f33b44fb6
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, 12 May 2012 04:25:46 +0000 (11 23:25 -0500)
treee669634fa15eab8fb2981c217a8c132a5da78e8a
parent724566976c1adbf02f64d00a658eae8aa0b3894a
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