Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
peff
· 4mo ago · 0 comments
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".
Comments
[–]
epistasis
4mo ago
Add in "--" a third time, and it's a file in the path spec, like it is for tools like rm.