From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Torsten Bögershausen" <tboegi@web.de>,
"Jon Forrest" <nobozo@gmail.com>,
git@vger.kernel.org
Subject: Re: Odd Difference Between Windows Git and Standard Git
Date: Mon, 23 May 2016 13:12:07 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.20.1605231310190.4122@virtualbox> (raw)
In-Reply-To: <xmqqfutcg0pe.fsf@gitster.mtv.corp.google.com>
Hi,
On Fri, 20 May 2016, Junio C Hamano wrote:
> Junio C Hamano <gitster@pobox.com> writes:
>
> > Thanks for asking a great question. I somehow expected that we
> > probe in init-db.c::create_default_files() for this when we probe
> > for case sensitivity, symlinks, etc., but apparently we don't.
>
> Ah, we do probe by using "config" as a guinea pig file.
>
> Of course, if you are doing network mount between systems with and
> without filemode support, the result would depend on where you did
> the "git init", so that would not help.
>
> Which means that other probed things like symlink support and case
> sensitivity are likely to be wrong in the .git/config that the user
> may want to fix.
What we could do is to make the default config setting platform-dependent,
a la CRLF_NATIVE.
I imagine that we would want this for core.filemode, core.ignorecase and
core.symlinks.
What do you think?
Ciao,
Johannes
next prev parent reply other threads:[~2016-05-23 11:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-20 1:48 Odd Difference Between Windows Git and Standard Git Jon Forrest
2016-05-20 13:19 ` Torsten Bögershausen
2016-05-20 13:48 ` Jon Forrest
2016-05-20 14:19 ` Torsten Bögershausen
2016-05-20 14:28 ` Jon Forrest
2016-05-20 15:57 ` Torsten Bögershausen
2016-05-20 15:23 ` Junio C Hamano
2016-05-20 16:12 ` Torsten Bögershausen
2016-05-20 16:21 ` Junio C Hamano
2016-05-23 11:12 ` Johannes Schindelin [this message]
2016-05-23 13:44 ` Jon Forrest
2016-05-23 15:08 ` Johannes Schindelin
2016-05-23 18:52 ` Junio C Hamano
2016-05-24 4:52 ` Torsten Bögershausen
2016-05-24 11:57 ` Johannes Schindelin
2016-05-25 4:36 ` Torsten Bögershausen
2016-05-25 11:52 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1605231310190.4122@virtualbox \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nobozo@gmail.com \
--cc=tboegi@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).