diff options
Diffstat (limited to 'git-fetch.html')
-rw-r--r-- | git-fetch.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/git-fetch.html b/git-fetch.html index 6becff88b..ee746259f 100644 --- a/git-fetch.html +++ b/git-fetch.html @@ -924,6 +924,17 @@ Internally this is used to implement the <code>push.negotiate</code> option, see </p>
</dd>
<dt class="hdlist1">
+--porcelain
+</dt>
+<dd>
+<p>
+ Print the output to standard output in an easy-to-parse format for
+ scripts. See section OUTPUT in <a href="git-fetch.html">git-fetch(1)</a> for details.
+</p>
+<div class="paragraph"><p>This is incompatible with <code>--recurse-submodules=[yes|on-demand]</code> and takes
+precedence over the <code>fetch.output</code> config option.</p></div>
+</dd>
+<dt class="hdlist1">
--[no-]write-fetch-head
</dt>
<dd>
@@ -1788,6 +1799,14 @@ representing the status of a single ref. Each line is of the form:</p></div> <div class="content">
<pre><code> <flag> <summary> <from> -> <to> [<reason>]</code></pre>
</div></div>
+<div class="paragraph"><p>When using <code>--porcelain</code>, the output format is intended to be
+machine-parseable. In contrast to the human-readable output formats it
+thus prints to standard output instead of standard error. Each line is
+of the form:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code><flag> <old-object-id> <new-object-id> <local-reference></code></pre>
+</div></div>
<div class="paragraph"><p>The status of up-to-date refs is shown only if the --verbose option is
used.</p></div>
<div class="paragraph"><p>In compact output mode, specified with configuration variable
@@ -2218,7 +2237,7 @@ submodule update</code>. This is expected to be fixed in a future Git version.</ <div id="footer">
<div id="footer-text">
Last updated
- 2023-01-21 17:52:14 PST
+ 2023-05-15 16:02:03 PDT
</div>
</div>
</body>
|