We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e25b6c + 9bd2ce5 commit 93a622fCopy full SHA for 93a622f
Documentation/git-cat-file.txt
@@ -42,8 +42,9 @@ OPTIONS
42
<object>.
43
44
-e::
45
- Suppress all output; instead exit with zero status if <object>
46
- exists and is a valid object.
+ Exit with zero status if <object> exists and is a valid
+ object. If <object> is of an invalid format exit with non-zero and
47
+ emits an error on stderr.
48
49
-p::
50
Pretty-print the contents of <object> based on its type.
@@ -168,7 +169,7 @@ If `-t` is specified, one of the <type>.
168
169
170
If `-s` is specified, the size of the <object> in bytes.
171
-If `-e` is specified, no output.
172
+If `-e` is specified, no output, unless the <object> is malformed.
173
174
If `-p` is specified, the contents of <object> are pretty-printed.
175
0 commit comments