Make core.sharedRepository work under cygwin 1.7