summaryrefslogtreecommitdiffstats
path: root/git-fetch.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-19 14:04:03 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-19 14:04:03 -0700
commit3c27de63e121444e76e7178a4f5bdc73cfccb416 (patch)
treef073f5bb8d4ec01b8db8d5b301dff4b597be725d /git-fetch.html
parent91a411f3c81ee50b7d9a6476828a238397f5456a (diff)
downloadgit-htmldocs-3c27de63e121444e76e7178a4f5bdc73cfccb416.tar.gz
Autogenerated HTML docs for v2.32.0-349-gdaab8
Diffstat (limited to 'git-fetch.html')
-rw-r--r--git-fetch.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/git-fetch.html b/git-fetch.html
index 36cc94c25..ef6b0a969 100644
--- a/git-fetch.html
+++ b/git-fetch.html
@@ -898,8 +898,21 @@ commits reachable from any of the given commits.</p></div>
<div class="paragraph"><p>The argument to this option may be a glob on ref names, a ref, or the (possibly
abbreviated) SHA-1 of a commit. Specifying a glob is equivalent to specifying
this option multiple times, one for each matching ref name.</p></div>
-<div class="paragraph"><p>See also the <code>fetch.negotiationAlgorithm</code> configuration variable
-documented in <a href="git-config.html">git-config(1)</a>.</p></div>
+<div class="paragraph"><p>See also the <code>fetch.negotiationAlgorithm</code> and <code>push.negotiate</code>
+configuration variables documented in <a href="git-config.html">git-config(1)</a>, and the
+<code>--negotiate-only</code> option below.</p></div>
+</dd>
+<dt class="hdlist1">
+--negotiate-only
+</dt>
+<dd>
+<p>
+ Do not fetch anything from the server, and instead print the
+ ancestors of the provided <code>--negotiation-tip=*</code> arguments,
+ which we have in common with the server.
+</p>
+<div class="paragraph"><p>Internally this is used to implement the <code>push.negotiate</code> option, see
+<a href="git-config.html">git-config(1)</a>.</p></div>
</dd>
<dt class="hdlist1">
--dry-run