summaryrefslogtreecommitdiff
path: root/fetch-negotiator.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2022-02-02 03:42:40 +0000
committerJunio C Hamano <gitster@pobox.com>2022-02-02 09:36:17 -0800
commit714edc620c7ddca5d54ff148ac27da6b67217012 (patch)
treedfd2d301d4bca044f1843b087a5a20883a6e2dcd /fetch-negotiator.c
parenta9a136c23223bf6b211db0746f3c9f6769deb833 (diff)
downloadgit-714edc620c7ddca5d54ff148ac27da6b67217012.tar.gz
repo-settings: rename the traditional default fetch.negotiationAlgorithm
Give the traditional default fetch.negotiationAlgorithm the name 'consecutive'. Also allow a choice of 'default' to have Git decide between the choices (currently, picking 'skipping' if feature.experimental is true and 'consecutive' otherwise). Update the documentation accordingly. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-negotiator.c')
-rw-r--r--fetch-negotiator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-negotiator.c b/fetch-negotiator.c
index 273390229f..874797d767 100644
--- a/fetch-negotiator.c
+++ b/fetch-negotiator.c
@@ -18,7 +18,7 @@ void fetch_negotiator_init(struct repository *r,
noop_negotiator_init(negotiator);
return;
- case FETCH_NEGOTIATION_DEFAULT:
+ case FETCH_NEGOTIATION_CONSECUTIVE:
default_negotiator_init(negotiator);
return;
}