mingw: do not hide bare repositories
commit2ec449c2ca6a787d7d8a7beb51dba656f02291be
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, 22 Mar 2011 12:35:25 +0000 (22 13:35 +0100)
tree39dd831b4bda9a6db3e5f917c739455892b14cd1
parent1fb56b497721a4be371274647800c60885df39a9
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