PhilippvK / playforia-minigolf

Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.
84 stars 31 forks source link

Fix issue with case-insensitive track-filenames #73

Closed PhilippvK closed 3 years ago

PhilippvK commented 3 years ago

Cloning the repository on MacOS leads to:

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:

  'tracks/tracks/AmazingRace.track'
  'tracks/tracks/Amazingrace.track'
  'tracks/tracks/BackandForth.track'
  'tracks/tracks/Backandforth.track'
  'tracks/tracks/HangOver.track'
  'tracks/tracks/Hangover.track'
  'tracks/tracks/JustGO.track'
  'tracks/tracks/Justgo.track'
  'tracks/tracks/SoNearSoFar.track'
  'tracks/tracks/Sonearsofar.track'
  'tracks/tracks/SwingAround.track'
  'tracks/tracks/Swingaround.track'
PhilippvK commented 3 years ago

@pehala Do you know if there "duplicates" already existed before your changes? It seems like they contain different information...

pehala commented 3 years ago

They seem like they did, it looks like they are from different creators

pehala commented 3 years ago

The tracks are different and should not overlap so I guess this is just a matter of renaming their filenames?

PhilippvK commented 3 years ago

So we just make the lower case version upper case and append f.e. a 2 to the filenames?

PhilippvK commented 3 years ago

I can rename them with git mv -f or just use Linux 😂

pehala commented 3 years ago

So we just make the lower case version upper case and append f.e. a 2 to the filenames?

yes, the filenames are arbitrary.