|
|
|
@ -3,7 +3,7 @@ git-cat-file(1)
@@ -3,7 +3,7 @@ git-cat-file(1)
|
|
|
|
|
|
|
|
|
|
NAME |
|
|
|
|
---- |
|
|
|
|
git-cat-file - Provide content or type/size information for repository objects |
|
|
|
|
git-cat-file - Provide content or type and size information for repository objects |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS |
|
|
|
@ -14,19 +14,19 @@ SYNOPSIS
@@ -14,19 +14,19 @@ SYNOPSIS
|
|
|
|
|
|
|
|
|
|
DESCRIPTION |
|
|
|
|
----------- |
|
|
|
|
In the first form, provides content or type of objects 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. |
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
In the second form, a list of object (separated by LFs) is provided on stdin, |
|
|
|
|
and the SHA1, type, and size of each object is printed on stdout. |
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
OPTIONS |
|
|
|
|
------- |
|
|
|
|
<object>:: |
|
|
|
|
The name of the object to show. |
|
|
|
|
For a more complete list of ways to spell object names, see |
|
|
|
|
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1]. |
|
|
|
|
the "SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1]. |
|
|
|
|
|
|
|
|
|
-t:: |
|
|
|
|
Instead of the content, show the object type identified by |
|
|
|
@ -56,8 +56,8 @@ OPTIONS
@@ -56,8 +56,8 @@ OPTIONS
|
|
|
|
|
stdin. May not be combined with any other options or arguments. |
|
|
|
|
|
|
|
|
|
--batch-check:: |
|
|
|
|
Print the SHA1, type, and size of each object provided on stdin. May not be |
|
|
|
|
combined with any other options or arguments. |
|
|
|
|
Print the SHA1, type, and size of each object provided on stdin. May not |
|
|
|
|
be combined with any other options or arguments. |
|
|
|
|
|
|
|
|
|
OUTPUT |
|
|
|
|
------ |
|
|
|
|