-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case collision in git Windows #412
Comments
well just wondering if anybody else is seeing this. |
Hi Neil, I haven't built any code against v0.33.x yet, so I haven't seen this. But browsing the source code just now, all of the release-tagged versions from 0.33.0 onward include only the mixed-case version of the file: InSituTrollSdi12a.h. |
@neilh10, I've been using v0.33.x without any problems. The one exception are the issues with PlatormIO Core 6.0.0 that happened to everyone yesterday and over the weekend. See platformio/platformio-core#4270. If didn't use it since Friday, you won't have these problems, as the 6.0.1 fix was released late on Monday. @neilh10, I'm actually quite perplexed at how it is possible that you are getting the error the you describe if you use PlatformIO in the recommended way. You've made comments in the past that have also led me to wonder if you are setting up PlatformIO properly. Maybe we should do a screen share and you could walk me through your issue. I don't think it is an issue with ModularSensors. |
Well thanks for the comments - its actually a pure git issue - and seems like it is only my fork of git. Somehow I've got on the bleeding edge This just a heads up that Windows treats case different than linux (which git was built in) and that when changing a file name - please don't just change the case in a file and then push it as in When I clone a new git in my fork - it hasn't resolved the case change introduced into the (main) $ git clone [email protected]:neilh10/ModularSensors.git 'src/sensors/InSituTrollSdi12a.h' However when it I clone directly there isn't the problem $ git clone [email protected]:mbarneytu/ModularSensors.git I'm leaving this open for info |
When changing a case on a file, it has problems with the Windows environment.
The case was changed from InsituTrollSdi12a.h to InSituTrollSdi12a.h
@SRGDamia1 Just wondering how you solved it across the branches when you changed the case. Many thanks
Cloning into '<>.platformio.cache\tmp\pkg-installing-wsc30bhb'...
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'src/sensors/InSituTrollSdi12a.h'
'src/sensors/InsituTrollSdi12a.h'
The text was updated successfully, but these errors were encountered: