config doc: don't describe *.fetchObjects twice

Refer readers of fetch.fsckObjects and receive.fsckObjects to
transfer.fsckObjects instead of repeating the description at each
location.

I don't think this description of them makes much sense, but for now
I'm just moving the existing documentation around. Making it better
will be done in a later patch.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2018-07-27 14:37:12 +00:00 committed by Junio C Hamano
parent 95d9d4b30c
commit 5180dd2e9f

View File

@ -1463,10 +1463,9 @@ fetch.recurseSubmodules::
fetch.fsckObjects:: fetch.fsckObjects::
If it is set to true, git-fetch-pack will check all fetched If it is set to true, git-fetch-pack will check all fetched
objects. It will abort in the case of a malformed object or a objects. See `transfer.fsckObjects` for what's
broken link. The result of an abort are only dangling objects. checked. Defaults to false. If not set, the value of
Defaults to false. If not set, the value of `transfer.fsckObjects` `transfer.fsckObjects` is used instead.
is used instead.
fetch.unpackLimit:: fetch.unpackLimit::
If the number of objects fetched over the Git native If the number of objects fetched over the Git native
@ -2889,10 +2888,9 @@ receive.certNonceSlop::
receive.fsckObjects:: receive.fsckObjects::
If it is set to true, git-receive-pack will check all received If it is set to true, git-receive-pack will check all received
objects. It will abort in the case of a malformed object or a objects. See `transfer.fsckObjects` for what's checked.
broken link. The result of an abort are only dangling objects. Defaults to false. If not set, the value of
Defaults to false. If not set, the value of `transfer.fsckObjects` `transfer.fsckObjects` is used instead.
is used instead.
receive.fsck.<msg-id>:: receive.fsck.<msg-id>::
When `receive.fsckObjects` is set to true, errors can be switched When `receive.fsckObjects` is set to true, errors can be switched
@ -3389,6 +3387,10 @@ transfer.fsckObjects::
When `fetch.fsckObjects` or `receive.fsckObjects` are When `fetch.fsckObjects` or `receive.fsckObjects` are
not set, the value of this variable is used instead. not set, the value of this variable is used instead.
Defaults to false. Defaults to false.
+
When set, the fetch or receive will abort in the case of a malformed
object or a broken link. The result of an abort are only dangling
objects.
transfer.hideRefs:: transfer.hideRefs::
String(s) `receive-pack` and `upload-pack` use to decide which String(s) `receive-pack` and `upload-pack` use to decide which