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 'fetch-negotiator.c')
-rw-r--r--fetch-negotiator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fetch-negotiator.c b/fetch-negotiator.c
index 57ed5784e1..e61e40cb29 100644
--- a/fetch-negotiator.c
+++ b/fetch-negotiator.c
@@ -19,8 +19,10 @@ void fetch_negotiator_init(struct repository *r,
return;
case FETCH_NEGOTIATION_DEFAULT:
- 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()!");
}
}