News for hackers. Stuff that matters.
Re:git's –end-of-options Flag by dmurray on Thursday July 23, 2026 @03:17AM (#49017964)
It sounds like they didn't need (at the time) to separate arguments from options, but they did need to separate revisions from pathspecs. So they repurposed "--" as the most familiar separator.

Probably they were trying to use familiar conventions, but when they later needed to separate arguments from options, that was a closer match for what other people were using "--" for, but it was too late.

Re:git's –end-of-options Flag by stingraycharles on Thursday July 23, 2026 @04:07AM (#49018311)
So basically don’t break conventions by repurposing existing operators for something else.

It’s silly as git is otherwise a very elegantly designed application, and you’d expect it to be developed by people who are very accustomed to these conventions.

Re:git's –end-of-options Flag by zoky on Thursday July 23, 2026 @06:26AM (#49019369)
As a primarily FreeBSD user who feels like I have to relearn the idiosyncrasies of practically the entire system every I install a new Linux distro, the mess of configuration options somehow actually seems entirely on-brand to me.