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

Question on case insensitive systems.

From
PRPaweł Redzyński <pawelredzynski@gmail.com>
Date
Mar 13, 2020, 12:05 UTC
Message-ID
<CAOTQ0KvpO5iVFsMqz5WPZd8uEd9_SRxQvznvEEB05jnTTWXBBg@mail.gmail.com>

Hello, I noticed that check for filename collision on case insensitive systems happen only upon clone: https://github.com/git/git/blob/c522f061d551c9bb8684a7c3859b2ece4499b56b/entry.c#L499 and https://github.com/git/git/blob/c522f061d551c9bb8684a7c3859b2ece4499b56b/unpack-trees.c#L445

 What if collision exists on some commit that is checked out only after clone?

Is this behavior intentional (eg. for performance reasons)? If its a bug, can I volunteer to solve it? Best regards Paweł

Next: Torsten Bögershausen
Message 1 of 2 in “Question on case insensitive systems.”
  1. Paweł RedzyńskiMar 13, 2020
  2. Torsten BögershausenMar 13, 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.