# Case insensitive when file mv

2 messages from 2012-06-04 to 2012-06-04. Participants: Jarek, Torsten Bögershausen.
Thread: https://gitlist.dev/t/30698

## Jarek, 2012-06-04 10:36

Subject: Case insensitive when file mv
Message-ID: <D62ABB09-AB7B-474E-8CDE-579AD30C58AE@gmail.com>
URL: https://gitlist.dev/e/D62ABB09-AB7B-474E-8CDE-579AD30C58AE%40gmail.com

```
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, 2012-06-04 16:35

Subject: Re: Case insensitive when file mv
Message-ID: <4FCCE3EB.4070607@web.de>
URL: https://gitlist.dev/e/4FCCE3EB.4070607%40web.de
In-Reply-To: <D62ABB09-AB7B-474E-8CDE-579AD30C58AE@gmail.com>

```
On 04.06.12 12:36, Jarek wrote:
> 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

```
