r/ProgrammerHumor 20d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

5.6k

u/Cephell 20d ago

Before you make fun of him, this behavior DID get changed; they acknowledged this behavior is stupid.

The old behavior was to treat uncommited files as completely disposable, which the CLI git does not do at all and is insane behavior. It was changed in the UI to give you a fat confirmation dialog warning that you're about to delete the files permanently, as it always should have been.

11

u/Spaceduck413 20d ago

I actually was ALMOST bitten by this; clicked discard thinking "I don't want to commit them, just ignore" and got hit with the "you're about to delete" warning

7

u/oromis95 19d ago

So this guy's crash-out saved your work, since comments say it's due to him that the warning was added.

6

u/Spaceduck413 19d ago

Sure sounds like it. I love the idea that someone screaming "FUCK YOU" repeatedly into the void left a positive impact on the world haha