]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repo-settings.c
submodules: fix of regression on fetching of non-init subsub-repo
[thirdparty/git.git] / repo-settings.c
index 9e551bc03d274ab728e64d22a84aadb24bb81a27..88ccce2036b611f7ea1e6d8ac538f9ee4e155395 100644 (file)
@@ -42,6 +42,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;
        }