inconsistent behavior on mac with case changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I created a dir on my Mac called Rollup, and pushed it out. Then went
to a CentOS box, pulled it, and realized I wanted to call it RollUp
(capital U). I renamed it, and pushed out the change. Went back to the
Mac and did a pull - it said it created the RollUp dir, but it did not
- it was still called Rollup. I reamed it, but status did not pick up
the change. Then I checked out a branch that had Rollup, but it was
gone there - no Rollup or RollUp. I did a merge and then RollUp was
created.

I know the Mac is somewhat inconsistent with how it deals with case, e.g.:

$ ls
RollUp
$ ls -d Rollup
Rollup
$ ls -d RollUp
RollUp
$ find . -name Rollup -print
$ find . -name RollUp -print
./RollUp

So I guess I can understand git also being inconsistent there. But
what really got me was the dir being gone on the branch.

Is all this expected behavior?

-larry
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]