News for hackers. Stuff that matters.
Re:Claude Code runs Git reset –hard origin/main against proj... by minitech on Sunday March 29, 2026 @10:45PM (#47569846)
It’s about the top-level comment’s horror that ”--” was substituted with “an en dash, not even an em dash”. If you’re picking a substitution for “--”, en dash makes more sense. The comment you originally replied to had already agreed “that it should be left as a double hyphen”.
Re:Claude Code runs Git reset –hard origin/main against proj... by ajross on Sunday March 29, 2026 @11:08PM (#47569990)
> If you’re picking a substitution for “--”, en dash makes more sense.

No, it doesn't? This seems like crazy talk to me, like "If you're picking a substitute for saffron, blood plasma makes more sense than monocrystalline silicon". Like, what?

It makes zero sense to substitute this at all. It's exactly what it says it is, the "--hard" command line option to "git reset", and you write it in exactly one way.

Re:Claude Code runs Git reset –hard origin/main against proj... by minitech on Sunday March 29, 2026 @11:19PM (#47570056)
Nobody is confused or disagrees about the `--hard` part. It was a minor tangent about contexts where these ASCII substitutions are established, like LaTeX (`` -> “, '' -> ”, -- -> –, --- -> —, etc.)