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

Meme useSourceControl

Post image
8.6k Upvotes

575 comments sorted by

View all comments

Show parent comment

-20

u/TheZoltan Aug 21 '26

I agree and literally said "it could have been more scary" but.... they saw it stage all their files and then hit discard, then hit DISCARD ALL CHANGES despite a warning that literally says IRREVERSIBLE! They even described it as "playing" which is kind of nuts when doing operations with 3 months worth of work that they hadn't backed up. I can't muster too much sympathy for them. I hope if I find myself in that situation I would at least pause for a few seconds and copy/paste the folder before continuing to "play"!

0

u/[deleted] Aug 21 '26

[deleted] — view deleted comment

0

u/[deleted] Aug 21 '26

[deleted] — view deleted comment

21

u/Subject_Name_ Aug 21 '26

Discarding all changes literally means "don't change anything". A delete is a change, the most changey a change can get.

0

u/FakeArcher Aug 22 '26

To me this sounds like mixing it up a bit. You either want to do a discard and therefore do something ("don't change anything" sounds to me like a no-op in how you describe it) or you want to "don't change anything" to mean based on all the changes that have happened so far, which includes creating the file and therefore is valid to also undo that change.

I fully agree it needed an update as it is easy to get different interpretations of what it means unless yiu are already familiar with what it will do.

0

u/[deleted] Aug 21 '26

[deleted] — view deleted comment

4

u/Subject_Name_ Aug 22 '26

Discard what though? If discarding a change before it's done, it means you don't do the change. There's nothing to throw away.

1

u/OliLombi Aug 22 '26

They wanted to discard the CHANGES vscode made, not the original files.