From: Michal Čihař Date: Mon, 29 Feb 2016 09:58:29 GMT Subject: git cat-file -e behavior Message-ID: <56D41645.4050800@cihar.com> Hi the documentation for "git cat-file -e" says: > Suppress all output; instead exit with zero status if 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