Hi the documentation for "git cat-file -e" says:
> Suppress all output; instead exit with zero status if <object> exists
and is a valid object.
However running it on non existing object will complain "fatal: Not a
valid object name".
$ git cat-file -e master:README.rst
$ echo $?
0
$ git cat-file -e master:foo
fatal: Not a valid object name master:foo
$ echo $?
128
Is the output in this case expected?
I'm currently running 2.7.0.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
signature.asc
Description: OpenPGP digital signature

