From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Duy Nguyen <pclouds@gmail.com>
Cc: Stefan Beller <sbeller@google.com>,
Lars Schneider <larsxschneider@gmail.com>,
git <git@vger.kernel.org>
Subject: Re: [RFC] Case insensitive Git attributes
Date: Mon, 17 Oct 2016 12:46:20 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.20.1610171241240.197091@virtualbox> (raw)
In-Reply-To: <CACsJy8BBLcZvB1FswcEKS1KgvjMjo_uaVqOTgjmMJkjnmoye+w@mail.gmail.com>
Hi Duy,
On Mon, 17 Oct 2016, Duy Nguyen wrote:
> On Mon, Oct 17, 2016 at 3:57 PM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> > Hi Stefan,
> >
> > On Sun, 16 Oct 2016, Stefan Beller wrote:
> >
> >> Conceptually I would prefer if we had a single switch that indicates a
> >> case insensitive FS.
> >
> > AFAIU Lars' use case is where the FS is *case sensitive*, but he still
> > needs the .gitattributes to be *case insensitive* because that file
> > originates from a developer with such a file system.
> >
> > Otherwise he would simply tack onto the core.ignoreCase flag.
>
> That sounds to me like setting core.ignoreCase to true (on all devs'
> repo) would "solve" this.
It is good that you quoted this verb, because it does not solve things.
Instead, it would try to use the flag for two slightly incompatible
purposes at the same time.
The first (and so far, only) purpose is to tell Git that the current file
system is case insensitive.
The new purpose you described would be to tell Git that the *user* does
not care about the file names' case, even if the file system does.
I do not think that this leads to a better situation than before. Instead,
I am convinced that it will cause new and sometimes "entertaining"
problems because you can no longer discern between those two purposes
based on core.ignoreCase, you would have to teach Git to test every single
time whether the file system is case-sensitive or not.
Needless to say, I'd rather not see that happening. Many users, including
my colleagues and myself, rely on Git being a rock solid piece of
software, and that change would make it less so.
Ciao,
Dscho
next prev parent reply other threads:[~2016-10-17 10:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-17 1:04 [RFC] Case insensitive Git attributes Lars Schneider
2016-10-17 3:07 ` Stefan Beller
2016-10-17 4:24 ` Torsten Bögershausen
2016-10-17 8:57 ` Johannes Schindelin
2016-10-17 9:12 ` Duy Nguyen
2016-10-17 10:46 ` Johannes Schindelin [this message]
2016-10-17 11:02 ` Duy Nguyen
2016-10-17 17:50 ` Junio C Hamano
2016-10-17 8:55 ` Johannes Schindelin
-- strict thread matches above, loose matches on Subject: below --
2017-01-22 19:25 Dakota Hawkins
2017-01-23 18:35 ` Junio C Hamano
2017-01-23 18:42 ` Lars Schneider
2017-01-23 19:25 ` Junio C Hamano
2017-01-23 19:38 ` Junio C Hamano
2017-01-24 9:49 ` Lars Schneider
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.1610171241240.197091@virtualbox \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=larsxschneider@gmail.com \
--cc=pclouds@gmail.com \
--cc=sbeller@google.com \
/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