@@ -9,14 +9,15 @@ git-cat-file - Provide content or type and size information for repository objec
9
9
SYNOPSIS
10
10
--------
11
11
[verse]
12
- 'git cat-file' (-t | -s | -e | -p | <type>) <object>
12
+ 'git cat-file' (-t | -s | -e | -p | <type> | --textconv ) <object>
13
13
'git cat-file' (--batch | --batch-check) < <list-of-objects>
14
14
15
15
DESCRIPTION
16
16
-----------
17
17
In its first form, the command provides the content or the type of an object in
18
18
the repository. The type is required unless '-t' or '-p' is used to find the
19
- object type, or '-s' is used to find the object size.
19
+ object type, or '-s' is used to find the object size, or '--textconv' is used
20
+ (which implies type "blob").
20
21
21
22
In the second form, a list of objects (separated by linefeeds) is provided on
22
23
stdin, and the SHA1, type, and size of each object is printed on stdout.
@@ -51,6 +52,11 @@ OPTIONS
51
52
or to ask for a "blob" with <object> being a tag object that
52
53
points at it.
53
54
55
+ --textconv::
56
+ Show the content as transformed by a textconv filter. In this case,
57
+ <object> has be of the form <treeish>:<path>, or :<path> in order
58
+ to apply the filter to the content recorded in the index at <path>.
59
+
54
60
--batch::
55
61
Print the SHA1, type, size, and contents of each object provided on
56
62
stdin. May not be combined with any other options or arguments.
0 commit comments