What Mac OS’s case-insensitive filenames teaches us
1–10 of 10 posts
Re: What Mac OS’s case-insensitive filenames teaches us
#2Re: What Mac OS’s case-insensitive filenames teaches us
#3Re: What Mac OS’s case-insensitive filenames teaches us
#4Ran 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.
But it breaks a large number of apps, so do it with caution.
Re: What Mac OS’s case-insensitive filenames teaches us
#5Ran 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.
Re: What Mac OS’s case-insensitive filenames teaches us
#6For 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.
Re: What Mac OS’s case-insensitive filenames teaches us
#7If the MacOS filesystem was not case-insensitive, i.e. it was _less_ liberal with what it accepted, the reported issue wouldn’t have happened.
Re: What Mac OS’s case-insensitive filenames teaches us
#8This is written as if it was some kind of lesson on philosophy. Why were you even using uppercase letters in your file names to begin with?
e.g.
class Admin extends Model {
};
export default Admin;Re: What Mac OS’s case-insensitive filenames teaches us
#9http://www.informit.com/articles/article.aspx?p=1144082&seqN...
Re: What Mac OS’s case-insensitive filenames teaches us
#10Ran 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.
It’s been an option since basically forever (I think you could use HFS+ case sensitive on Tiger, even). But 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.