r/programming • • Jun 14 '20

GitHub to replace "master", "whitelist", "blacklist", and others with alternative terms to avoid slavery references

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

[removed] — view removed post

1.5k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

-14

u/AlSweigart Jun 15 '20

For folks who want to insist that git's use of "master" has no connection to master/slave:

Reference needed. You don't know where it comes from, and you're not even trying to find where "master copy" takes its name from.

First appearance of "master" in git is in a CVS helper script[1]: https://github.com/git/git/commit/3e91311ae750af9bf2e3517b1e701288ac3066b9

Why is that branch called master? Probably because BitKeeper uses "master" for its main branch: http://www.bitkeeper.org/tips.html#_how_do_i_rebase_my_work_on_top_of_a_different_changeset

But maybe this "master" isn't the same one that's in "master/slave"? See the documentation about master/slave repositories: https://github.com/bitkeeper-scm/bitkeeper/blob/master/doc/HOWTO.ask#L223

"But repositories and branches aren't the same!" They are in BitKeeper: https://users.bitkeeper.org/t/branching-with-bk/158/2

So, yes, the "git master" branch probably isn't even a "master copy" reference, but a straight up master/slave reference.

Did I get anything wrong there?

0

u/[deleted] Jun 15 '20

[deleted]

2

u/emdeka87 Jun 15 '20

Thanks, this should be on top.

25

u/vytah Jun 15 '20

Is there any Git repository in the world that has a branch or a remote named "slave"?

20

u/lal1212 Jun 15 '20

It does not matter. master/slave is also not a racial construct or reference. It just is a description of a concept. Slaves exist for thousand of years, where people without money could become slaves, so it is not at all about race. If I as a German would hear about master/slave in a non technical context the first thing which comes to my mind are slaves in ancient Rome/Greek not an Afro-American slave.

11

u/thatpaulbloke Jun 15 '20

Or Slavic people, since that's where the bloody word comes from.