Lurker News

Comments (2,007) 300 threads

Earlier comments
enriquto4 replies#
I'm a bit late to the game, but I don't understand what this fuss is all about, from a technical point of view. I just created a git repo this morning and the default branch was named "master" (using the git command line). Then I pushed it to github to make it visible, as I have done several times before. The command line instructions at the "new repository" interface on github suggest changing the branch name to main, but I did not do that (just for trying) and now I have a brand new github repository whose branch is named "master". Basically github allows to name your branches however you like. The example instructions suggest that you rename your master branch to "main", by running this code on your command line:

    git branch -M main
But that is all. You can name it "trunk" if you want, for all that matter.

Now, I think that the whole github renaming thing is a bit ridiculous and probably a faux pas on their part. But the people complaining about "the great rename" sound even more ridiculous: as far as I can see, there's no rename, just a stupid modification of the initialization instructions that suggest that users rename their branch. All that fuss for the damn "git branch -M" line?

throwaheyy3 replies#
Sure, it’s fine and easy if you’re starting a project today. But if you have any build or deployment automation that interacts with git repos for existing projects it will be broken by the change.
iamflimflam1#
That doesn't really make sense? If you have existing git repos they will still have a branch called master.

GitHub did not go into existing repositories and change the names of existing branches.

enriquto#
But they did not rename any existing repositories (that would be in very bad taste!). Such an automatic renaming would possibly break a lot of scripts, but this is not what is happening. All old repositories still have their branch names intact. The new repositories can have whatever name you choose.

What does "the change" actually do? Is it just in the "new repository" instructions or is there some automated process that may fail? Maybe I'm missing a way to create github repositories besides the "New" button on your user page?

detaro#
Existing projects are impacted by a changed default for new repositories how?
rendall#
The name change, which despite its being easy for you, will cause confusion and higher barriers-to-entry to new devs who will need to sort out older tutorials and manuals from new ones. This is but one foreseeable consequence among other potentially unintended and unforseen consequences.

This because an exceedingly tiny group of people at the best, most charitable interpretation of their motives, wilfully misapprehend that 'master' refers to more than their narrow concerns.

Jenk1 reply#
A lot of places will have extra effort in their CI/CD pipelines, too. I know, I know, commands like the following exist:

    grep -rl master | sed -ie "s/master/main/g"
but there's always going to be bugs or whatever come out of it, and also.. this misses the point of the article. It's a hollow virtue signal. It does literally nothing to help the cause it proclaims to help, yet it requires some effort from well.. everyone. It is the definitive example of a waste of time, al be it not much per instance, but some time is wasted.
enriquto1 reply#
My point is that you do not need to follow github's suggestion and rename your branch to "main". It seems to me that github's "change" is only a suggestion in their instructions to create a new repository. They do not rename your branches nor force a name to you. You get to chose the name of your branches, and the default name for the git program is still "master".
Jenk6 replies#
Which is still an empty gesture, that is still leading to wasted time.

FYI github's repo creation tool now defaults to main. A lot of orgs use this tool because they will also use repo templates. I know git, the program, is still defaulting to master.

Continue this thread — 6 replies

rvanlaar#
Haven't you thought about how trunk is offensive to people who have been kidnapped?
VBprogrammer3 replies#
As a white person, the difference this change will make to my life is so negligible that if it makes one PoC feel more included then it's fine by me.

I totally take on board the point that a lot of man hours have been consumed debating how and when to execute this change. Possibly to the exclusion of doing something potentially more meaningful.
However, the glee with which the authors opinion is accepted as the opinion of an entire race of people by other comments here strikes me as an example of confirmation bias. Simply finding one PoC who agrees with you doesn't validate your view point.

mFixman#
I was expecting the article to list some technical problems coming from switching `remote/master` to `remote/main`. There aren't any, and reading this article took more time than trying to remember which one to use for this project.

Is there a name for anti-political correctness, where people go into long rants about how changes that have zero effect in their lives are a sign of the collapse of society? They are pretty popular in social media and specially on this site.

thinkingemote#
"if it makes one PoC feel more included"

How about if it does make one PoC feel more included but it also makes three PoC feel more excluded at the same time?
Is it then about numbers? Shouldn't you therefore look at and ask the community of PoC what they think as a whole?
To me, the article was saying that this holistic consultation was not done. And this has lead to the waste of time, energy and feeling of exclusion. Other comments in this thread have said that this consultation (seems to be limited to employees in Microsoft, etc) has been done...
Confirmation bias can be examined rationally. The arguments in favour of this change can be explained away in multiple ways which will override any data that is found.

anatoly1 reply#
You're fine with the change because of one hypothetical PoC you imagine who likes it, but you resent that others are not fine with the change and feel supported by one real PoC who dislikes it.
VBprogrammer#
Not you are presenting a false dichotomy. I'm not speaking for or against this change. I'm speaking against the people who are butt hurt by this change because it's not even master as in slave but master as in boot record, using this one data point to justify their position.

It's the same as those people who find the one doctor or nurse who thinks that covid-19 is just a flu or that one engineer who concludes that the twin towers couldn't possibly have fallen because of fire alone.

_abox#
Microsoft did the same with Edge. They forked Chrome but they did a big search/replace of certain configuration keys... Everything called Whitelist is now called Allowlist.

This tripped me up in work, as the configuration variables I pushed for Kerberos authentication no longer worked. AuthNegotiateDelegateWhitelist became AuthNegotiateDelegateAllowlist and AuthServerWhitelist became AuthServerAllowlist. Sure, I understand why this is better. What I have a problem with is the way this is done. It wasn't very well documented or announced, they just did a big search replace, on internal configuration variables that no end user will ever see.
I don't even mind the work, but at least make it known. This was not handled very well and had all the hallmarks of an emergency PR-fueled scramble. It feels more like window dressing than an actual desire to change things.

calibas1 reply#
With computers there is often a master/slave relationship, there is one system that's in near absolute control of another. It's practical and there's no ethical issues, the slave computer doesn't feel anything. Of course, with human beings it's a completely different story, but we're talking about computers.

As far as human beings, the problem was (and is) slavery, it's not the word "master". Especially in the US, there's this idea that we just have to change the terminology around, ban a word, and suddenly racism will disappear. Both political parties, the mainstream media, and major corporations all love this, because they get to make superficial changes and then sweep racism under the rug.
Now if GitHub wanted to do something truly radical to fight racism, they'd change the name of the "master" branch to the "black" branch. I understand most people will be resistant to this, simply because "black" has a negative connotation, but please be aware of your own personal reactions to the word, as that's my whole point. The word "black" also means darkness, evil, it's something dirty, while "white" means purity, goodness, and cleanliness. And I'm just pointing out the what's already in people's minds, don't shoot the messenger!
If something is "black and white", there's a clear right and wrong. In our language, "black" is synonymous with "wrong", and yet this word with negative connotations is used for an entire race of people.
Instead of practicing censorship, which is reprehensible in a free society, and reminiscent of the same kind of authoritarianism that produces master/slave relationships among human beings, why not do something actually progressive? Have we forgotten what that looks like? Challenge society's entire perception of the word "black", rename the "master" branch "black", and begin to associate the word with something good for once. Start by changing the way people think. Turn black into something positive, and if you really want to see people's racism come out, use white in a negative sense.

luckylion1 reply#
> If something is "black and white", there's a clear right and wrong. In our language, "black" is synonymous with "wrong", and yet this word with negative connotations is used for an entire race of people.

I don't think most people think like that. Black and white in that meaning is used in very specific contexts, not in general. Nobody thinks that a "black and white film" is about moral issues. In German, "black on white" (schwarz auf weiß) refers to (usually black) ink on (usually white) paper and nobody has race on their mind when they say it. We're not wearing black at funerals "because it's wrong that somebody died". Black numbers are good ("schwarze Zahlen schreiben" = "writing black numbers" = earning money), red numbers usually aren't. Waving the white flag isn't great. Black/brown bread is delicious, and so is Schwarzbier if you're into stronger tastes in beer, and you can get black-out drunk with enough of it. There's really no association with Africans with that usage of "black".
I have a feeling that a lot of people believe that first came racism and Europeans looking down on Africans and then came "black = bad" associations in language. There was no European colonialism back then, Northern African slave raiders regularly went on slave raids to (mostly Southern) Europe etc. The use of black in that sense is, at least in German, at least 1200 years old, long before significant contact between Central Europe and Africa.

calibas#
I present the Dictionary.com definition from 5 years ago, back before it was whitewashed: https://web.archive.org/web/20160314100133/http://www.dictio...

Now I guarantee you that people don't consciously think that "black" people are "bad" simply because of the word, if that's what you think I'm saying.

Load more comments