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.

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

Farid
link
fedilink
38M

Depends on your version of git, I believe.

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.

Farid
link
fedilink
68M

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.

Because its a non issue to developers.

It was only a hand wringing thing by internet bloggers.

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

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
link
fedilink
08M

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.

deleted by creator

Do you really have to, tho? One can keep using masters, move them to mains, or even symlink one to another so that everyone is comfortable with whatever they’re used to. Seems like a non-issue to me 🤷

@wewbull@feddit.uk
link
fedilink
English
38M

We’ve ended up with a 50:50 chance of what any repo is doing. All depends on when the repo was created (old ones are all master) and if the creator tried to preserve consistency or not (yes: master, no: took the default of main).

It’s annoying and pointless.

@locuester@lemmy.zip
link
fedilink
English
28M

Symlink a git tag?

I mean smth like git symbolic-ref refs/heads/master refs/heads/main. Not sure if it’s a bad practice or smth, tho

MeanEYE
link
fedilink
18M

For a while, yes, you had to. Every new repo would be main while old ones remained master. Tools that default to a specific branch aside now you had to remember and check which branch you are merging into every time.

It’s an issue, because many tools default to a certain branch, and people do too. So each build pipeline has to be changed, each dev has to check for each repo he’s working on, whether it’s using main or master, etc, etc.

Just think about what hell would break loose, if Microsoft would be forced to rename C: to something else because someone was reminded of the "C word ".

People like you are why JavaScript exists

@lugal@lemmy.ml
link
fedilink
-29
edit-2
8M

You sound like a slave owner, ngl

I am not pro slavery but I will not free my chattel slaves. People just break with this tradition for extremely dubious reasons.

Listen to yourself!

Edit: I was thinking about putting “/s” at the end but thought it was obvious enough. I was wrong

This is the epitome of Poe’s law

Why do I keep getting this comment? Maybe I should call myself Poe in the future

Deebster
link
fedilink
68M

I think on the Fediverse (or just Lemmy?) I’ve seen more people who’d post your comment non-ironically. Or maybe they’re not serious either (but they’d have to be really committed to the bit).

I had a conversation recently where someone said they weren’t serious after several levels of comments that were downvoted into oblivion. I try to make myself understood in the second (or third) level of comments or, as in this case, in an edit

No, you should call yourself poe in the past so you can collect royalties on yourself.

I guess I once again forgot the “/s”. I’m not going to call me “Poe” at any point of time /s

Deebster
link
fedilink
108M

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

MeanEYE
link
fedilink
18M

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.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.2K Comments
  • Modlog