]> git.ipfire.org Git - thirdparty/git.git/commit
doc: promisor: improve acceptFromServer entry
authorChristian Couder <christian.couder@gmail.com>
Wed, 27 May 2026 14:08:20 +0000 (16:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 20:20:15 +0000 (05:20 +0900)
commit8f32e6f343b451f04e57dfda31bef04cb23f65a1
tree88ad506c06d0bb5a26bea56e8cd154da4863663d
parent7a56394fc6c28572925b00c4fe3b1ff78b5f4322
doc: promisor: improve acceptFromServer entry

The entry for the `promisor.acceptFromServer` in
"Documentation/config/promisor.adoc" has a number of issues:

- it's not clear if new remotes and URLs can be created,
- it looks like a big block of text,
- it's not easy to see all the options,
- it's not easy to see which option is the default one,
- for "knownName", it says "advertised by the client" instead of
  "advertised by the server",
- it doesn't refer to the new related `acceptFromServerUrl`
  option.

Let's address all these issues by rewording large parts of it
and using bullet points for the different options.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/promisor.adoc