diff options
author | Elijah Newren <newren@gmail.com> | 2022-02-02 03:42:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-02 09:36:17 -0800 |
commit | 714edc620c7ddca5d54ff148ac27da6b67217012 (patch) | |
tree | dfd2d301d4bca044f1843b087a5a20883a6e2dcd /fetch-negotiator.c | |
parent | repo-settings: fix error handling for unknown values (diff) | |
download | tgif-714edc620c7ddca5d54ff148ac27da6b67217012.tar.xz |
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.c | 2 |
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; } |