From: Johannes Schindelin Date: Thu, 04 Oct 2007 12:49:43 GMT Subject: Re: [PATCH] git-init: don't base core.filemode on the ability to chmod. Message-ID: In-Reply-To: <7vir5nb89d.fsf@gitster.siamese.dyndns.org> Hi, On Thu, 4 Oct 2007, Junio C Hamano wrote: > I do not think git on Cygwin nor WinGit creates $GIT_DIR/config with > executable bit set. Is this pretty much a workaround only for > vfat-on-Linux ? I do not know precisely about Cygwin (a quick test on my USB stick shows that .git/config is created without the executable bit set), but in MSys plain files which start with a she-bang are automatically +x, while all other plain files are automatically -x (therefore this applies to .git/config). Given these findings, I fail to see what the patch should achieve, as the first test (for -x) always succeeds... Ciao, Dscho