diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-01-23 14:34:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-23 14:34:27 -0800 |
commit | 7b9cce9df833532347e272c1a4ad6b17f6564f7f (patch) | |
tree | cae0754028bacaf8511ea4a0d53e4fc54c21e183 /git-cat-file.txt | |
parent | 613e7c2b6be68147a3a683ac3ff41cc394b18c10 (diff) | |
download | git-htmldocs-7b9cce9df833532347e272c1a4ad6b17f6564f7f.tar.gz |
Autogenerated HTML docs for v2.16.1-72-g5be1f
Diffstat (limited to 'git-cat-file.txt')
-rw-r--r-- | git-cat-file.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/git-cat-file.txt b/git-cat-file.txt index fb09cd69d..f90f09b03 100644 --- a/git-cat-file.txt +++ b/git-cat-file.txt @@ -42,8 +42,9 @@ OPTIONS <object>. -e:: - Suppress all output; instead exit with zero status if <object> - 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 + emits an error on stderr. -p:: Pretty-print the contents of <object> based on its type. @@ -168,7 +169,7 @@ If `-t` is specified, one of the <type>. If `-s` is specified, the size of the <object> in bytes. -If `-e` is specified, no output. +If `-e` is specified, no output, unless the <object> is malformed. If `-p` is specified, the contents of <object> are pretty-printed. |