summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34bb92e)
raw | patch | inline | side by side (parent: 34bb92e)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Thu, 24 Jun 2010 12:56:55 +0000 (14:56 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 24 Jun 2010 20:10:59 +0000 (13:10 -0700) |
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cat-file.txt | patch | blob | history |
index 58c8d65772af4ef20ad573af9dd28691f5357437..9ebbe9402b216d33fb7148f2f796d1f58d12cfd9 100644 (file)
SYNOPSIS
--------
[verse]
-'git cat-file' (-t | -s | -e | -p | <type>) <object>
+'git cat-file' (-t | -s | -e | -p | <type> | --textconv ) <object>
'git cat-file' (--batch | --batch-check) < <list-of-objects>
DESCRIPTION
-----------
In its first form, the command provides the content or the type of an object in
the repository. The type is required unless '-t' or '-p' is used to find the
-object type, or '-s' is used to find the object size.
+object type, or '-s' is used to find the object size, or '--textconv' is used
+(which implies type "blob").
In the second form, a list of objects (separated by linefeeds) is provided on
stdin, and the SHA1, type, and size of each object is printed on stdout.
or to ask for a "blob" with <object> being a tag object that
points at it.
+--textconv::
+ Show the content as transformed by a textconv filter. In this case,
+ <object> has be of the form <treeish>:<path>, or :<path> in order
+ to apply the filter to the content recorded in the index at <path>.
+
--batch::
Print the SHA1, type, size, and contents of each object provided on
stdin. May not be combined with any other options or arguments.