mingw: do not hide bare repositories
commit7185ae46e9684565faa7454a261f80c489f234cb
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 17 Sep 2010 09:30:18 +0000 (17 10:30 +0100)
tree9b46bfb26ab29e6e28f6072fa3cf4f47673f8bd5
parentbbd411d64bd96a1e1873a7fc627f657ad850b241
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