Re: [PATCH] git-init: don't base core.filemode on the ability to chmod.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 4, 2007, 12:49 UTC
- Message-ID
- <Pine.LNX.4.64.0710041345280.4174@racer.site>
- 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