]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repo-settings.c
Merge branch 'pb/doc-sequence-editor-configuration'
[thirdparty/git.git] / repo-settings.c
index 0918408b34436a02589cdb850da8345671e4a5f1..aa61a35338138edb31ff6791ad08d560b674c04b 100644 (file)
@@ -39,6 +39,8 @@ void prepare_repo_settings(struct repository *r)
        if (!repo_config_get_string(r, "fetch.negotiationalgorithm", &strval)) {
                if (!strcasecmp(strval, "skipping"))
                        r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_SKIPPING;
+               else if (!strcasecmp(strval, "noop"))
+                       r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_NOOP;
                else
                        r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_DEFAULT;
        }