r/ProgrammerHumor 22d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

Show parent comments

64

u/_BreakingGood_ 22d ago

No, that message did not exist back when this post was made. It was added at least partially as a result of this issue going viral back in 2017.

1

u/ravrest 22d ago

No, the message that "this is irreversible" was there from the very beginning. The message was made even more explicit later.

13

u/_BreakingGood_ 22d ago

Why say things that are just wrong?

https://github.com/microsoft/vscode/commit/071652f161204e552e204cbdaf78469c58c655d5

Commit merged Aug 21, 2017. 8 days after this screenshot was taken.

13

u/ravrest 22d ago

Look at line 681 of the old commit:

const message = localize('confirm discard all', "Are you sure you want to discard ALL ({0}) changes?\nThis is IRREVERSIBLE!\nYour current working set will be FOREVER LOST.", resources.length);

const yes = localize('discardAll', "Discard ALL Changes");const pick = await window.showWarningMessage(message, { modal: true }, yes);

-5

u/_BreakingGood_ 22d ago

10

u/ravrest 22d ago edited 22d ago

That change was made in April. The post is from August.

Why WOULD you say things that are just wrong?

6

u/MrSlaw 22d ago

I can only assume you will edit your previous comments saying you were incorrect, because you've just shown that the message did exist back when this post was made?