From: Junio C Hamano Date: Thu, 25 May 2006 05:55:33 +0000 (+0000) Subject: Autogenerated man pages for v1.3.3-ged90 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b4e975d722493c0934ffc9343d98a554a64a545e;p=git.git Autogenerated man pages for v1.3.3-ged90 --- diff --git a/man1/git-cat-file.1 b/man1/git-cat-file.1 index 01f73860..3a61268a 100755 --- a/man1/git-cat-file.1 +++ b/man1/git-cat-file.1 @@ -23,12 +23,12 @@ git-cat-file \- Provide content or type information for repository objects .SH "SYNOPSIS" -git\-cat\-file [\-t | \-s | \-e | ] +\fIgit\-cat\-file\fR [\-t | \-s | \-e | \-p | ] .SH "DESCRIPTION" -Provides content or type of objects in the repository\&. The type is required unless \-t is used to find the object type, or \-s is used to find the object size\&. +Provides content or type of objects in the repository\&. The type is required unless \fI\-t\fR or \fI\-p\fR is used to find the object type, or \fI\-s\fR is used to find the object size\&. .SH "OPTIONS" @@ -49,19 +49,26 @@ Instead of the content, show the object size identified by \&. Suppress all output; instead exit with zero status if exists and is a valid object\&. .TP +\-p +Pretty\-print the contents of based on its type\&. + +.TP Typically this matches the real type of but asking for a type that can trivially be dereferenced from the given is also permitted\&. An example is to ask for a "tree" with being a commit object that contains it, or to ask for a "blob" with being a tag object that points at it\&. .SH "OUTPUT" -If \-t is specified, one of the \&. +If \fI\-t\fR is specified, one of the \&. + + +If \fI\-s\fR is specified, the size of the in bytes\&. -If \-s is specified, the size of the in bytes\&. +If \fI\-e\fR is specified, no output\&. -If \-e is specified, no output\&. +If \fI\-p\fR is specified, the contents of are pretty\-printed\&. Otherwise the raw (though uncompressed) contents of the will be returned\&.