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

Re: [PATCH v2] Allow git mv FileA fILEa on case ignore file systems

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Apr 12, 2011, 06:16 UTC
Message-ID
<4DA3EE2C.2010702@viscovery.net>
In-Reply-To
<7vd3ksybfr.fsf@alter.siamese.dyndns.org>
Am 4/11/2011 18:55, schrieb Junio C Hamano:
Show 8 quoted lines
> Yeah, I forgot about the primary thing we are trying to do in this
> discussion.  Sorry about that.  My thinking stopped at 'if we rename "A"
> to "a in the index, that is sufficient.  We already know that we can still
> open("A") because the filesystem is case insensitive.'
> 
> In fact, we want both the index entry "A" renamed to "a" _and_ also we
> want to see next "/bin/ls" to show "a", not "A".  For the latter, we do
> want to run rename(2) on them.

I wonder why we need this at all. You can always break this into two operations:

  git mv A a1
  git mv a1 a

Is 'git mv A a' on a case-insensitive filesystem such an every-day operation that we have to provide special support for it in git?

-- Hannes
Previous: Torsten Bögershausen
Message 8 of 8 in “Allow git mv FileA fILEa on case ignore file systems”
  1. Allow git mv FileA fILEa on case ignore file systemsTorsten Bögershausen, Mar 19, 2011
  2. Erik Faye-LundMar 19, 2011
  3. Piotr KrukowieckiMar 19, 2011
  4. Junio C HamanoMar 20, 2011
  5. Torsten BögershausenApr 10, 2011
  6. Junio C HamanoApr 11, 2011
  7. Torsten BögershausenApr 11, 2011
  8. Johannes SixtApr 12, 2011

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.