mingw: do not hide bare repositories
commitd90dee0cecf7a5dcc17b0a484517ad4511873fdc
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, 2 Nov 2011 20:12:31 +0000 (2 15:12 -0500)
tree2dd2568ab7e782aa232cb845059caf98e1db5f37
parent19954b2b858aaeb7feac7b2e3d3b626d24cf3995
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