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

205

u/[deleted] Jun 15 '20

Dude imagine developer time worldwide to fix all the problems this will cause.

For example - any automation script that has git push origin master will probably not be doing the right thing anymore for new repos.

0

u/[deleted] Jun 15 '20

[deleted]

6

u/deja-roo Jun 15 '20

You're right, except that people are going to continue using their script templates and quickly building repos with default settings and will not be paying attention to the latest virtue signaling from companies they don't pay attention to and find themselves digging through scripts wondering what happened.

1

u/ric2b Jun 16 '20

Cause doing that would be rewriting history and breaking signed commits and all around a bad idea.

I'm pretty sure branches are mutable and aren't included in commit data, unless I'm missing some edge cases.

Although I still think this is stupid.

4

u/jrhoffa Jun 15 '20

Lazy scripting biting us in the ass again.

3

u/[deleted] Jun 15 '20

1

u/jrhoffa Jun 15 '20

Its not like everything should be getting pushed to master anyway

0

u/theLorknessMonster Jun 15 '20

That'll teach people to hardcode things! These damn devs need to check their white privilege...or something.

-17

u/ishouldhaveshutup Jun 15 '20

That's going to take months to fix!!!! How are you going to deal? Does your company provide mental health care?

0

u/[deleted] Jun 15 '20

[deleted]

1

u/ishouldhaveshutup Jun 15 '20

My comment was sarcasm. The amount of complaining in this thread is absurd.

-6

u/[deleted] Jun 15 '20

in theory git push origin HEAD should do the similar

-10

u/[deleted] Jun 15 '20

I wonder how many people are aware of `git push origin HEAD` being a viable alternative that doesn't bind you to a specific branch name.

0

u/[deleted] Jun 15 '20

[deleted]

0

u/[deleted] Jun 15 '20

Yeah, that's generally what I'd want to do, rather than pushing one branch explicitly onto another or tracking branches with different names remote or locally.

5

u/[deleted] Jun 15 '20

It's more that people are unaware that remote bare repo have concept of "current branch"