threads / discuss / 30698

Case insensitive when file mv

Subject: Case insensitive when file mv

## tl;dr

2 messages between Jun 4, 2012 and Jun 4, 2012.

replies: 1people: 2as markdown or json

Jarek· Jun 4, 2012, 10:36 UTC · lore
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.

Torsten Bögershausen· Jun 4, 2012, 16:35 UTC · re: Jarek · lore

Re: Case insensitive when file mv

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

← back to recent threads