Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2022-02-02 06:42:40 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-02 20:36:17 +0300
commit714edc620c7ddca5d54ff148ac27da6b67217012 (patch)
treedfd2d301d4bca044f1843b087a5a20883a6e2dcd /repository.h
parenta9a136c23223bf6b211db0746f3c9f6769deb833 (diff)
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 'repository.h')
-rw-r--r--repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.h b/repository.h
index a057653981..464e8ffe69 100644
--- a/repository.h
+++ b/repository.h
@@ -19,7 +19,7 @@ enum untracked_cache_setting {
};
enum fetch_negotiation_setting {
- FETCH_NEGOTIATION_DEFAULT,
+ FETCH_NEGOTIATION_CONSECUTIVE,
FETCH_NEGOTIATION_SKIPPING,
FETCH_NEGOTIATION_NOOP,
};