Re: BUG FOLLOWUP: Case insensitivity in worktrees
- From
- Casey Meijer <cmeijer@strongestfamilies.com>
- Date
- Jul 24, 2020, 18:17 UTC
- Message-ID
- <02819EF1-CCA7-4A0F-9497-F6A52E6CBF30@strongestfamilies.com>
- In-Reply-To
- <xmqqft9hn1pd.fsf@gitster.c.googlers.com>
Sorry I got mixed up,, that last message should have been addressed to Junio.
My apologies.
To put it very simply, I'm asking that git respect the separation of concerns between itself and its storage engine (regardless of whether that's pluggable, or just the current filesystem, which I guess is technically pluggable, lol).
Best,
Casey
On 2020-07-23, 10:25 PM, "Junio C Hamano" <gitster@pobox.com> wrote:
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> It isn't clear to me exactly what you're suggesting. Are you suggesting
> that we allow "head" instead of "HEAD" in worktrees, or that we allow
> refs in general to be case insensitive, or something else? > There is a proposal for a ref storage backend called "reftable" which
> will not store the ref names in the file system, and work is being done
> on it. There has been a suggestion for an SQLite store in the past, but
> that causes problems for certain implementations, such as JGit, which do
> not want to have C bindings. Yes, another important thing to point out is that one shared goal of
these efforts is so that users, even those on case insensitive
filesystems, can name their refs foo and FOO and have the system
treat these as two distinct refs. IOW, wanting to enhance "support"
for case insensitive treatment of refs will not fly---asking for
"head" and getting contents of "HEAD" on certain platforms is a bug,
induced by limited filesystem these platforms use, and it is being
fixed.Thanks.