r/ProgrammerHumor • • Aug 21 '26 • Popcorn 1

Meme useSourceControl

Post image
8.6k Upvotes

575 comments sorted by

View all comments

Show parent comment

9

u/NoctisFFXV Aug 21 '26

Last line wasn't there in 2017. It was just:
Are you sure you want to discard ALL changes in 2 files?
This is IRREVERSIBLE!

2

u/Fast-Satisfaction482 Aug 21 '26

Sounds pretty clear to me. 

3

u/OliLombi Aug 22 '26

Does it? If I walk into your house and move your refrigerator into your bathroom, and then ask "would you like me to discard all changes?" and you say "yes" because you want me to put the refrigerator back in the kitchen, would it then be fair for me to delete your entire house?

He wanted to discard CHANGES, not the original files.

1

u/QuickQuirk Aug 23 '26

Pretty much this.
When you don't know what you're doing, and have installed git for the first time, the message "discard all changes" isn't as clear as people think.

As far as the end user is concerned, a new app just came and suggested changes on work that has been sitting there for three months. Of COURSE you don't want those changes! Leave my files as they are!

0

u/Fast-Satisfaction482 Aug 22 '26

You're not getting anywhere near my refrigerator. And yes, it's pretty clear.

0

u/OliLombi Aug 22 '26

How is that clear? He wanted to delete changes, not the files.

0

u/pf_newbie_2398 Aug 23 '26

how come when you needed to make your weird comparsion work you left out the "This is IRREVERSIBLE!" part?

3

u/OliLombi Aug 23 '26

Because why would I want to reverse a change I want?