summaryrefslogtreecommitdiffstats
path: root/fetch-options.txt
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 /fetch-options.txt
parent91a411f3c81ee50b7d9a6476828a238397f5456a (diff)
downloadgit-htmldocs-3c27de63e121444e76e7178a4f5bdc73cfccb416.tar.gz
Autogenerated HTML docs for v2.32.0-349-gdaab8
Diffstat (limited to 'fetch-options.txt')
-rw-r--r--fetch-options.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/fetch-options.txt b/fetch-options.txt
index 9e7b4e189..e967ff187 100644
--- a/fetch-options.txt
+++ b/fetch-options.txt
@@ -62,8 +62,17 @@ 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.
+
-See also the `fetch.negotiationAlgorithm` configuration variable
-documented in linkgit:git-config[1].
+See also the `fetch.negotiationAlgorithm` and `push.negotiate`
+configuration variables documented in linkgit:git-config[1], and the
+`--negotiate-only` option below.
+
+--negotiate-only::
+ Do not fetch anything from the server, and instead print the
+ ancestors of the provided `--negotiation-tip=*` arguments,
+ which we have in common with the server.
++
+Internally this is used to implement the `push.negotiate` option, see
+linkgit:git-config[1].
--dry-run::
Show what would be done, without making any changes.