git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Case insensitive when file mv
@ 2012-06-04 10:36 Jarek
  2012-06-04 16:35 ` Torsten Bögershausen
  0 siblings, 1 reply; 2+ messages in thread
From: Jarek @ 2012-06-04 10:36 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Case insensitive when file mv
  2012-06-04 10:36 Case insensitive when file mv Jarek
@ 2012-06-04 16:35 ` Torsten Bögershausen
  0 siblings, 0 replies; 2+ messages in thread
From: Torsten Bögershausen @ 2012-06-04 16:35 UTC (permalink / raw)
  To: Jarek; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-04 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04 10:36 Case insensitive when file mv Jarek
2012-06-04 16:35 ` Torsten Bögershausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).