Jonathan Nieder jrnie...@gmail.com writes:
(a) rename has_dash_dash here to dash_dash_pos, or
(b) put the check in the loop, like so:
I agree with (a), but not with (b). I think separating the computation
of the position and the diagnosis makes it clearer.
I reworked the code a bit, the
Hi,
Matthieu Moy wrote:
error: pathspec 'foo' did not match any file(s) known to git.
error: pathspec 'bar' did not match any file(s) known to git.
error: pathspec '--' did not match any file(s) known to git.
This patch fixes it by walking through the argument list to find the
--, and now
2 matches
Mail list logo