mingw: do not hide bare repositories
commit7fdaa485a1fb199d5c7518b4669a46267d2b3e39
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 16 Jan 2013 09:50:32 +0000 (16 09:50 +0000)
treea7ef11ea98192a444d395970c9b9c2a0a20c9e42
parentb0cc8d7d6023f2c18ba4765cd1b11ae6f1bbf5a8
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