]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fetch-negotiator.c
config: do not leak excludes_file
[thirdparty/git.git] / fetch-negotiator.c
index 273390229fe4c442915e911b421339e2391fc37c..be383367f55a537944bcf6b43aa7e158cb7f5cad 100644 (file)
@@ -18,8 +18,13 @@ 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;
        }
 }
+
+void fetch_negotiator_init_noop(struct fetch_negotiator *negotiator)
+{
+       noop_negotiator_init(negotiator);
+}