]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fetch-negotiator.c
repo-settings.c: simplify the setup
[thirdparty/git.git] / fetch-negotiator.c
index e61e40cb2990ec5a0e4d472565f09e980bbb7f7f..273390229fe4c442915e911b421339e2391fc37c 100644 (file)
@@ -21,8 +21,5 @@ void fetch_negotiator_init(struct repository *r,
        case FETCH_NEGOTIATION_DEFAULT:
                default_negotiator_init(negotiator);
                return;
-       case FETCH_NEGOTIATION_NONE:
-       case FETCH_NEGOTIATION_UNSET:
-               BUG("FETCH_NEGOTIATION_{NONE,UNSET} used outside of prepare_repo_settings()!");
        }
 }