<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
<head>\r
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 7.0.1" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
<style type="text/css">\r
/* Debug borders */\r
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-cat-file</em> [-t | -s | -e | <type>] <object></p>\r
+<p><em>git-cat-file</em> [-t | -s | -e | -p | <type>] <object></p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
<p>Provides content or type of objects in the repository. The type\r
-is required unless <em>-t</em> is used to find the object type,\r
+is required unless <em>-t</em> or <em>-p</em> is used to find the object type,\r
or <em>-s</em> is used to find the object size.</p>\r
</div>\r
<h2>OPTIONS</h2>\r
</p>\r
</dd>\r
<dt>\r
+-p\r
+</dt>\r
+<dd>\r
+<p>\r
+ Pretty-print the contents of <object> based on its type.\r
+</p>\r
+</dd>\r
+<dt>\r
<type>\r
</dt>\r
<dd>\r
<p>If <em>-t</em> is specified, one of the <type>.</p>\r
<p>If <em>-s</em> is specified, the size of the <object> in bytes.</p>\r
<p>If <em>-e</em> is specified, no output.</p>\r
+<p>If <em>-p</em> is specified, the contents of <object> are pretty-printed.</p>\r
<p>Otherwise the raw (though uncompressed) contents of the <object> will\r
be returned.</p>\r
</div>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 06-Jan-2006 17:12:05 PDT\r
+Last updated 25-May-2006 05:54:45 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
-'git-cat-file' [-t | -s | -e | <type>] <object>
+'git-cat-file' [-t | -s | -e | -p | <type>] <object>
DESCRIPTION
-----------
Provides content or type of objects in the repository. The type
-is required unless '-t' is used to find the object type,
+is required unless '-t' or '-p' is used to find the object type,
or '-s' is used to find the object size.
OPTIONS
Suppress all output; instead exit with zero status if <object>
exists and is a valid object.
+-p::
+ Pretty-print the contents of <object> based on its type.
+
<type>::
Typically this matches the real type of <object> but asking
for a type that can trivially be dereferenced from the given
If '-e' is specified, no output.
+If '-p' is specified, the contents of <object> are pretty-printed.
+
Otherwise the raw (though uncompressed) contents of the <object> will
be returned.