Ran into this issue with CI and git. Was so difficult to track down. Now all Macs on my team are reformatted to be case sensitive because of this. Thankfully it's an option now.
I have had issues with this and instead of formatting, due to issues, what I ended up recommending was creating disk images, mounting them correctly and putting files there.
I was applying a pattern of naming the files containing ORM Models with a capital, in order to represent that they contained a javascript class as their default export.
e.g.
class Admin extends Model {
};
export default Admin;
It’s not just macOS, Windows has the same, with all the same associated problems.
For that reason, I generally prefer to keep all file names consistently lower-case - user_account.ex over UserAccount.ex. It’s just as easy to read, if not more so.
We have enough other things to worry about as programmers without having to think about correct capitalisation of file names.
9 comments
[ 3.2 ms ] story [ 29.0 ms ] threadBut it breaks a large number of apps, so do it with caution.
I have had issues with this and instead of formatting, due to issues, what I ended up recommending was creating disk images, mounting them correctly and putting files there.
e.g.
For that reason, I generally prefer to keep all file names consistently lower-case - user_account.ex over UserAccount.ex. It’s just as easy to read, if not more so.
We have enough other things to worry about as programmers without having to think about correct capitalisation of file names.
If the MacOS filesystem was not case-insensitive, i.e. it was _less_ liberal with what it accepted, the reported issue wouldn’t have happened.
http://www.informit.com/articles/article.aspx?p=1144082&seqN...