by eadmund · 2y ago · 0 comments
I constantly have pain — years after the Summer of Floyd — from repos I follow which change the name of their master branch from ‘master’ to ‘main,’ which breaks all sorts of tooling, sometimes silently (my local copies stay on ‘master,’ and never get updates), sometimes noisily.
That switching is actively harmful.
> Some people genuinely love the name master and want it to stay and yes, that is weird.
I don’t particularly love it, but it is the correct name for the master version (as opposed to a local copy, or a remote copy, or a feature branch, or a custom branch, or whatever) of a repo.
> but it is the correct name for the master version
Why? Literally why? Main means the exact same thing, it's equally correct. Why choose THIS hill to die on? This is what I'm talking about.
It's a breaking change, requiring me to fix CI, local copies, scripts and so on. It really doesn't matter if you rename "master" to "main", or "main" to "GloriousLeaderXiJinping". Just don't, it's harmful because it's a breaking change for no reason.
> Just don't, it's harmful because it's a breaking change for no reason.
If only it were this simple. Many people got pissed off when Github changed their default. For NEW repos. Clearly, many people have more emotional skin in the game than you're willing to admit.