Luu Tuyen@lemmy.world to linuxmemes@lemmy.world · 4 months agoRemember: GNU/Linux and other UNIX systems can make files that are case-sensitive, Windows can't make files that are case-sensitivelemmy.worldexternal-linkmessage-square243fedilinkarrow-up1687arrow-down173
arrow-up1614arrow-down1external-linkRemember: GNU/Linux and other UNIX systems can make files that are case-sensitive, Windows can't make files that are case-sensitivelemmy.worldLuu Tuyen@lemmy.world to linuxmemes@lemmy.world · 4 months agomessage-square243fedilink
minus-squareDefederateLemmyMl@feddit.nllinkfedilinkarrow-up3arrow-down1·4 months agoI don’t think it’s intended as a “solution”, it just lets the clobbering that is caused by the case insensitiveness happen. So git just goes: checkout content of README.md to README.md (OS creates README.md) checkout content of README.MD to README.MD (OS overwrites README.md) If you add a third or fourth file … it would just continue, and file gets checked out first gets the filename and whichever file gets checked out last, gets the content.
minus-squarelseif@sopuli.xyzlinkfedilinkarrow-up1·4 months agothats better than Git just choosing a file to keep.
I don’t think it’s intended as a “solution”, it just lets the clobbering that is caused by the case insensitiveness happen.
So git just goes:
If you add a third or fourth file … it would just continue, and file gets checked out first gets the filename and whichever file gets checked out last, gets the content.
thats better than Git just choosing a file to keep.