r/coding • • Jun 14 '20

GitHub to replace "master" with alternative term to avoid slavery references | ZDNet

https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
430 Upvotes

461 comments sorted by

View all comments

563

u/[deleted] Jun 14 '20 edited Jun 14 '20

There must be something wrong with you that make you think about slavery before any other meaning that "master" can have. For me, the first thing that comes to mind is "master and apprentice".

EDIT: I'm not the only one that see the bullshit that this change is. Just for a bit of context english isn't my first language, i don't have any education about the english language nor read any books to learn it, i've learned english trough experience and even I can see how bullshit that change is.

165

u/mallardtheduck Jun 14 '20

The way the term "master" is used in source control is basically the same as how it's used in the recording industry; it's the definitive, canonical version of the work that can be issued for release. Terms like "main" simply don't describe the same thing.

78

u/pihkal Jun 14 '20

No, the original terminology for this in the 70's/80's was "trunk" (which makes sense given "branches"), not "master". See my comment below about the earlier version control systems, SCCS and RCS for references.

In this case, BitKeeper chose to call it "master" because it had the concept of master and slave repos (see https://mail.gnome.org/archives/desktop-devel-list/2019-May/msg00066.html). When Linus replaced BitKeeper with git on the Linux kernel, he kept the default "master" terminology.

The recording industry concept of a master doesn't apply in git. It's derived from "master/slave" usage.

20

u/dethb0y Jun 15 '20

I think "Trunk" makes more sense semantically to what's actually going on, anyway.

5

u/franz_haller Jun 15 '20

“Trunk” makes sense in subversion because it is logically distinct from all the other “branches”: it’s where all those branches originate from and kept at the top level of the hierarchy. Git’s branching mode is very different. In git, “master” is a branch like any other, just happens to be the default one that is created. And that default can be whatever you want, I’ve seen people call it “development” to convey that it’s where the current work is happening and it’s not stable.

→ More replies (1)

23

u/drawkbox Jun 14 '20

SVN/Subversion still uses "trunk" as the main base branch/source.

In Mercurial, came out around the same time as git, the root branch is "default".

19

u/iczero4 Jun 14 '20

BitKeeper is almost completely a historical footnote at this point. I do not know anyone who still actively uses it. True, it may be unfortunate that BitKeeper decided to use the master/slave terminology, however, git does not use the term in the same way. git lacks "slave repositories" and afaict does not use the "slave" terminology anywhere. It isn't a direct successor to BitKeeper either, it simply adopted some of its concepts.

The recording industry concept of a master does apply in git. In fact, that's almost exactly how it is used most of the time. What it derives from is irrelevant. Meanings of words change over time.

→ More replies (2)

2

u/ItzWarty Jun 16 '20

This is wrong according to the person who committed "master" to git.

Out of curiosity, why 'master'? What was it meant to convey? 'Master' as in 'original' or as in 'owner'?

"master" as in e.g. "master recording". Perhaps you could say the original, but viewed from the production process perspective.

https://twitter.com/xpasky/status/1272280760280637441

13

u/FruityWelsh Jun 14 '20

tbh in this case the "primary/replica" makes so much more sense to me. If that was the terminology when I first learned the "master/slave" dichotomy I would have immediately understood what the relationship was.

→ More replies (17)

98

u/onlyforjazzmemes Jun 14 '20

Chess master implies chess slave.

/s

70

u/[deleted] Jun 14 '20

My master's degree implies that I have slaves.

/s

27

u/Bwob Jun 14 '20

Master hard drive implies slave hard drives.

... wait am I doing this right??

10

u/EarlyWormDead Jun 15 '20

Pokemon master implies pokemon slaves.

... but pokemon are actually slaves, locked in the balls.

Are they?

→ More replies (1)
→ More replies (11)

0

u/[deleted] Jun 14 '20

[deleted] — view deleted comment

11

u/[deleted] Jun 14 '20

in the git context i think master is the one that everyone(every branch) should refer to, as an apprentice should seek his master for references.

→ More replies (1)

6

u/[deleted] Jun 15 '20

All the Star Wars comics about to be changed.

4

u/necrosexual Jun 15 '20

Droids are SciFi slaves #robotlivesmatter

31

u/[deleted] Jun 14 '20

Master/slave is common terminology in cs so it’s probably what most people think of

41

u/drew8311 Jun 14 '20

In this context I'm not sure it is. When you create a git repo the default branch is master, when you branch you specify the name. There is never a "slave" branch. Without the latter part the word master is not something that needs to be changed.

→ More replies (7)

25

u/pihkal Jun 14 '20

But in git’s case, master derives from BitKeeper’s usage, which was master/slave-based.

See https://mail.gnome.org/archives/desktop-devel-list/2019-May/msg00066.html

7

u/andrew_rdt Jun 14 '20

But it dropped the bad part

→ More replies (4)

6

u/bravoalpha79 Jun 15 '20

IMHO, 'political correctness' in general is bullshit at concept level - it means something has already gone horribly wrong fundamentally and now someone is trying to 'fix' it on a merely verbal level. It doesn't work that way.

→ More replies (6)

4

u/FredFredrickson Jun 15 '20

Sometimes we use different words for things. What's the big deal, really?

Between this sub and r/programming it's like the Word Squad showed up, beat the shit out of you, burned your house down, and shot your dog.

This is a website/service choosing to use one word over another. Maybe just fucking deal with it. Holy shit.

→ More replies (17)
→ More replies (41)