diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-12-22 15:14:10 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-25 16:24:23 +0900 |
commit | 7cce9074a728fb32501054577963d8ae31d007be (patch) | |
tree | 8400b171dac2d810bc62463b029fd29bf734b2e4 /Documentation/config | |
parent | 0cfde740f0b2c9474aae3a381d1d6e97c7468e7a (diff) | |
download | git-7cce9074a728fb32501054577963d8ae31d007be.tar.gz |
bundle-uri client: add boolean transfer.bundleURI setting
The yet-to-be introduced client support for bundle-uri will always
fall back on a full clone, but we'd still like to be able to ignore a
server's bundle-uri advertisement entirely.
The new transfer.bundleURI config option defaults to 'false', but a user
can set it to 'true' to enable checking for bundle URIs from the origin
Git server using protocol v2.
Co-authored-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/transfer.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config/transfer.txt b/Documentation/config/transfer.txt index 264812cca4..c3ac767d1e 100644 --- a/Documentation/config/transfer.txt +++ b/Documentation/config/transfer.txt @@ -115,3 +115,9 @@ transfer.unpackLimit:: transfer.advertiseSID:: Boolean. When true, client and server processes will advertise their unique session IDs to their remote counterpart. Defaults to false. + +transfer.bundleURI:: + When `true`, local `git clone` commands will request bundle + information from the remote server (if advertised) and download + bundles before continuing the clone through the Git protocol. + Defaults to `false`. |