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

Re: Cloned repository has file changes -> bug?

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 6, 2018, 14:36 UTC
Message-ID
<xmqqinba89tb.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180206141423.GA28721@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I'm not entirely convinced it's worth all of this effort, but I think it
> would be _possible_ at least.

I thought that the original poster wants to have a knob that the project can ask its participants to enable in their clones of the repository that wars this situation when they "git add". When a projects considers that macOS users must dictate the world order because its source must be checked out on case insensitive HFS+, it may be sensible to force participants on other platforms whose filesystem does not guarantee that two paths that "normalize" to the same string will not enter in the project history to spend application cycles to do so instead.

That admittedly is quite a macOS centric view, and it is not a very pleasant one, as it means almost all individual _applications_ on other platforms that conceivably could be used to work on a project macOS folks would want to be treated as first-class citizens would need to learn about the peculiar filesystem limitation of one particular platform they otherwise may not necessarily care about.

Previous: Filip JorissenNext: brian m. carlson
Message 9 of 10 in “Cloned repository has file changes -> bug?”
  1. Filip JorissenJan 27, 2018
  2. Ævar Arnfjörð BjarmasonJan 27, 2018
  3. Torsten BögershausenJan 28, 2018
  4. Filip JorissenFeb 6, 2018
  5. Duy NguyenFeb 6, 2018
  6. Ævar Arnfjörð BjarmasonFeb 6, 2018
  7. Jeff KingFeb 6, 2018
  8. Filip JorissenFeb 6, 2018
  9. Junio C HamanoFeb 6, 2018
  10. brian m. carlsonJan 28, 2018

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.