mingw: do not hide bare repositories
commit9a5be1b93bcd95899134503a7079ba13d666d6ab
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, 1 Jun 2011 10:51:27 +0000 (1 12:51 +0200)
treea23c17829e1d51ec65cfb1a7a9f713bedf25162f
parent9b3eb676291dfb020b233957ee161a3f73697940
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