summaryrefslogtreecommitdiffstats
path: root/git-cat-file.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-cat-file.html')
-rw-r--r--git-cat-file.html31
1 files changed, 14 insertions, 17 deletions
diff --git a/git-cat-file.html b/git-cat-file.html
index 7a4c57cb6..21057aacf 100644
--- a/git-cat-file.html
+++ b/git-cat-file.html
@@ -740,7 +740,7 @@ git-cat-file(1) Manual Page
<h2>NAME</h2>
<div class="sectionbody">
<p>git-cat-file -
- Provide content or type and size information for repository objects
+ Provide contents or details of repository objects
</p>
</div>
</div>
@@ -752,11 +752,11 @@ git-cat-file(1) Manual Page
<pre class="content"><em>git cat-file</em> &lt;type&gt; &lt;object&gt;
<em>git cat-file</em> (-e | -p) &lt;object&gt;
<em>git cat-file</em> (-t | -s) [--allow-unknown-type] &lt;object&gt;
+<em>git cat-file</em> (--textconv | --filters)
+ [&lt;rev&gt;:&lt;path|tree-ish&gt; | --path=&lt;path|tree-ish&gt; &lt;rev&gt;]
<em>git cat-file</em> (--batch | --batch-check | --batch-command) [--batch-all-objects]
[--buffer] [--follow-symlinks] [--unordered]
- [--textconv | --filters] [-Z]
-<em>git cat-file</em> (--textconv | --filters)
- [&lt;rev&gt;:&lt;path|tree-ish&gt; | --path=&lt;path|tree-ish&gt; &lt;rev&gt;]</pre>
+ [--textconv | --filters] [-Z]</pre>
<div class="attribution">
</div></div>
</div>
@@ -764,16 +764,13 @@ git-cat-file(1) Manual Page
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="paragraph"><p>In its first form, the command provides the content or the type of an object in
-the repository. The type is required unless <code>-t</code> or <code>-p</code> is used to find the
-object type, or <code>-s</code> is used to find the object size, or <code>--textconv</code> or
-<code>--filters</code> is used (which imply type "blob").</p></div>
-<div class="paragraph"><p>In the second form, a list of objects (separated by linefeeds) is provided on
-stdin, and the SHA-1, type, and size of each object is printed on stdout. The
-output format can be overridden using the optional <code>&lt;format&gt;</code> argument. If
-either <code>--textconv</code> or <code>--filters</code> was specified, the input is expected to
-list the object names followed by the path name, separated by a single
-whitespace, so that the appropriate drivers can be determined.</p></div>
+<div class="paragraph"><p>Output the contents or other properties such as size, type or delta
+information of one or more objects.</p></div>
+<div class="paragraph"><p>This command can operate in two modes, depending on whether an option
+from the <code>--batch</code> family is specified.</p></div>
+<div class="paragraph"><p>In non-batch mode, the command provides information on an object
+named on the command line.</p></div>
+<div class="paragraph"><p>In batch mode, arguments are read from standard input.</p></div>
</div>
</div>
<div class="sect1">
@@ -816,8 +813,8 @@ whitespace, so that the appropriate drivers can be determined.</p></div>
<dd>
<p>
Exit with zero status if <code>&lt;object&gt;</code> exists and is a valid
- object. If <code>&lt;object&gt;</code> is of an invalid format exit with non-zero and
- emits an error on stderr.
+ object. If <code>&lt;object&gt;</code> is of an invalid format, exit with non-zero
+ status and emit an error on stderr.
</p>
</dd>
<dt class="hdlist1">
@@ -1345,7 +1342,7 @@ will be reported.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-06-23 13:24:09 PDT
+ 2023-10-18 13:44:22 PDT
</div>
</div>
</body>