git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: BUG FOLLOWUP: Case insensitivity in worktrees

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 24, 2020, 01:25 UTC
Message-ID
<xmqqft9hn1pd.fsf@gitster.c.googlers.com>
In-Reply-To
<20200724011944.GD1758454@crustytoothpaste.net>
"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?
Show 5 quoted lines
> 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.
Previous: brian m. carlsonNext: Casey Meijer
Message 3 of 8 in “Re: BUG FOLLOWUP: Case insensitivity in worktrees”
  1. Casey MeijerJul 23, 2020
  2. brian m. carlsonJul 24, 2020
  3. Junio C HamanoJul 24, 2020
  4. Casey MeijerJul 24, 2020
  5. Casey MeijerJul 24, 2020
  6. Junio C HamanoJul 24, 2020
  7. Casey MeijerJul 24, 2020
  8. brian m. carlsonJul 24, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.