Hacker News new | ask | show | jobs
by peff 9 days ago
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".
1 comments

Add in "--" a third time, and it's a file in the path spec, like it is for tools like rm.