mingw: do not hide bare repositories
commitd13b63b0b6e64e80b784a59299e2479169f260cd
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 19 Apr 2011 14:37:04 +0000 (19 16:37 +0200)
treea8eb20be68b936e3818c7c5deb3cf63e56ebb8d7
parent0f57674f13493bf7e5e8710475cdb3d3f8fbb5b6
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