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

Re: Case insensitive when file mv

From
Torsten Bögershausen <tboegi@web.de>
Date
Jun 4, 2012, 16:35 UTC
Message-ID
<4FCCE3EB.4070607@web.de>
In-Reply-To
<D62ABB09-AB7B-474E-8CDE-579AD30C58AE@gmail.com>
On 04.06.12 12:36, Jarek wrote:
Show 30 quoted lines
> Hope it covers everything:
> 
> $ git mv solJW.R solRandom.r
> $ git mv solRandom.r solRandom.R
> fatal: destination exists, source=solRandom.r, destination=solRandom.R
> $ ls
> mouse_evaluator.R mouse_world.R     scenariusze.R     sol1.R            sol2.R            sol3.R            solRandom.r
> $ git mv solRandom.r solRandom.R
> fatal: destination exists, source=solRandom.r, destination=solRandom.R
> $?
> -bash: 128: command not found
> $ git mv solRandom.r solRandom.X
> $ git mv solRandom.X solRandom.R
> $ man git
> $ git --version
> git version 1.7.5.4
> $ touch abc
> $ touch Abc
> $ git add abc
> $ git add Abc
> $ 
> 
> 
> Didn't have time to check whether is it a known bug or already solved in the latest version.
> 
> Kind regards,
> Jarosław Wódka.--
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hej Jarek, That's a known limitation on case insensitve file system under Windows or Mac OS. We had a diskussion about this some time ago:

<http://git.661346.n2.nabble.com/PATCH-v2-Allow-git-mv-FileA-fILEa-on-case-ignore-file-systems-td6187510.html>
/Torsten
Previous: Jarek
Message 2 of 2 in “Case insensitive when file mv”
  1. JarekJun 4, 2012
  2. Torsten BögershausenJun 4, 2012

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.