News for hackers. Stuff that matters.
Re:git's –end-of-options Flag by peff on Thursday July 23, 2026 @07:12AM (#49019714)
If it's used for both, then you couldn't have "--" itself as a pathspec. In your first example, the current meaning is: a pathspec containing "rev", "--", and "pathspec".
Re:git's –end-of-options Flag by epistasis on Thursday July 23, 2026 @09:51AM (#49021590)
Add in "--" a third time, and it's a file in the path spec, like it is for tools like rm.