this post was submitted on 20 Nov 2024
639 points (97.3% liked)

Programmer Humor

19623 readers
1975 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
639
submitted 16 hours ago* (last edited 16 hours ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 62 points 16 hours ago (39 children)
[–] [email protected] 22 points 15 hours ago (38 children)

I don't know anything about programming, i came here from /all, but it seems to me that a command that's this permanently destructive warrants a second confirmation dialog message reminding the user that the files will be permanently deleted and not undoable

[–] CaptDust 8 points 15 hours ago

They clicked discard changes, confirmed it, and the computer did as instructed. This operation is normally not so destructive as it only discards uncommitted changes to realign the local directory with the remote server. Unfortunately for user, it sounds like they have never committed a change, so realignment meant reverting to an empty folder.

load more comments (37 replies)
load more comments (37 replies)