Michael J Gruber [off-list ref] writes:
git rm ../a
git add ../a
fatal: pathspec 'a' did not match any files
If you didn't have that ../a from the beginning, wouldn't you get the same
error message? Or instead of "git add ../a", you did "(cd .. && git add a)"
what message do (and more importantly "should") you get?
I think it would be an improvement if we said "../a" in the message, but
otherwise I agree with you that there is no bug here.
A side note. If this didn't work:
$ git rm --cached ../a
$ git add ../a
I would suspect that would be a bug (this however seems to work).