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:
Diffstat (limited to 'repo-settings.c')
-rw-r--r--repo-settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo-settings.c b/repo-settings.c
index b93e91a212..27f230681f 100644
--- a/repo-settings.c
+++ b/repo-settings.c
@@ -82,6 +82,8 @@ void prepare_repo_settings(struct repository *r)
r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_SKIPPING;
else if (!strcasecmp(strval, "noop"))
r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_NOOP;
+ else if (!strcasecmp(strval, "default"))
+ r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_DEFAULT;
}
/*