IAP GITLAB

Name clash in case insensitive filesystem

We have the files

  • cmake/FindCORSIKA8.cmake
  • cmake/FindCorsika8.cmake which are the same as far as MacOS is concerned. The apple file system stores, but ignores the case of filenames. This confuses git (and users). To confirm the source of odd output from git status, I had to check the filenames on a Linux box.

Should we make it a coding rule that you are not allowed to add filenames to the code that differ only in casing and forbid the use of alternative casing even in different directories? Rationale: I've seen cases where

#include <Math.h>

would break on MacOS, picking up the system header math.h instead of a project header Math.h.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information