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

Programmer Humor

32380 readers
1361 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 9 months ago (3 children)

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.

[–] [email protected] 61 points 9 months ago (6 children)

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

[–] [email protected] 10 points 9 months ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 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?

[–] [email protected] 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.

[–] [email protected] 13 points 9 months ago

Because its a non issue to developers.

It was only a hand wringing thing by internet bloggers.

[–] [email protected] 11 points 9 months ago (1 children)

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

[–] [email protected] 3 points 9 months ago (1 children)

Depends on your version of git, I believe.

[–] [email protected] 8 points 9 months ago (1 children)

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.

[–] [email protected] 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.