mingw: do not hide bare repositories
commit9d2ad68fc674c54698248d7834151e250fd70f64
authorErik Faye-Lund <kusmabite@googlemail.com>
Thu, 18 Mar 2010 10:21:31 +0000 (18 10:21 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 18 Mar 2010 21:57:09 +0000 (18 21:57 +0000)
tree2d5fe8454fbb2eafca336ef897ed03bd0fc39e07
parent5cf938f51e7331e269078eff85f3460c3926681e
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