fetch: document the --negotiate-only option
commit60fadf8bd2abe6bede48bcf42377f6c8b7c1d0bb
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 30 Jun 2021 16:38:11 +0000 (30 18:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Jun 2021 21:57:22 +0000 (30 14:57 -0700)
tree4dab22eb420717f1395847bfd3086d5d35a82a5e
parent1e5b5ea5386121fd80c7fe1a05c4e3419584f3c2
fetch: document the --negotiate-only option

There was no documentation for the --negotiate-only option added in
9c1e657a8fd (fetch: teach independent negotiation (no packfile),
2021-05-04), only documentation for the related push.negotiation
option added in the following commit in 477673d6f39 (send-pack:
support push negotiation, 2021-05-04).

Let's document it, and update the cross-linking I'd added between
--negotiation-tip=* and 'fetch.negotiationAlgorithm' in
526608284a7 (fetch doc: cross-link two new negotiation options,
2018-08-01).

I think it would be better to say "in common with the remote" here
than "...the server", but the documentation for --negotiation-tip=*
above this talks about "the server", so let's continue doing that in
this related option. See 3390e42adb3 (fetch-pack: support negotiation
tip whitelist, 2018-07-02) for that documentation.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/fetch.txt
Documentation/fetch-options.txt