355
submitted 9 months ago by TxzK@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] ShortN0te@lemmy.ml 13 points 9 months ago

I find it funny how many ppl complained about it when it came up. Now it is the default on github and other code forges. And now one cares anymore if it is master or main.

[-] agressivelyPassive@feddit.de 61 points 9 months ago

It was never about the name itself, but about breaking a convention for extremely dubious reasons.

[-] Deebster@programming.dev 10 points 9 months ago

On the plus side, forcing people to support alternative branch names surely has led to better software support for a core Git feature.

[-] MeanEYE@lemmy.world 1 points 9 months ago

That's like forcing people to have different color shoe laces and calling it good practice. In reality it changed nothing but forced a lot of people to work on solving issues with their scripts and automation tools for the sake of change instead of spending that time on writing actual code and fixing bugs.

[-] fl42v@lemmy.ml 1 points 9 months ago

Sb got offended for no reason, then companies decided to get public approval points out of it; nothing new or notable. Seriously, tf is the point of overanalyzing it like there's nothing better to do?

[-] MeanEYE@lemmy.world 0 points 9 months ago

This, sooo much this! People don't realize that this change created a lot of unnecessary work to a lot of developers for no other reason than PR or to act smug about it. They solved slavery problem by renaming master to main equally well as they solved homophobia and transphobia by allowing people to specify pronouns on their profiles. Who the hell cares if you identify as tree sap. However many do care if your code sucks or doesn't follow coding style.

[-] Kbin_space_program@kbin.social 13 points 9 months ago

Because its a non issue to developers.

It was only a hand wringing thing by internet bloggers.

[-] cmnybo@discuss.tchncs.de 11 points 9 months ago

Master is still the default branch when you run git init.

[-] abfarid@startrek.website 3 points 9 months ago

Depends on your version of git, I believe.

[-] cmnybo@discuss.tchncs.de 8 points 9 months ago

The latest version from kernel.org still uses master. It's certainly possible for distro maintainers to change it on the versions they package though.

[-] abfarid@startrek.website 6 points 9 months ago

Yeah, seems like I'm wrong. I looked up the docs on git-scm.com and it says that the default branch name is "currently master, but this is subject to change in the future". Maybe GitHub threw me off.

this post was submitted on 21 Jan 2024
355 points (91.2% liked)

Programmer Humor

32448 readers
914 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS