1#include "git-compat-util.h"
2#include "fetch-negotiator.h"
3#include "negotiator/default.h"
4#include "negotiator/skipping.h"
56
void fetch_negotiator_init(struct fetch_negotiator *negotiator,
7const char *algorithm)
8{
9if (algorithm && !strcmp(algorithm, "skipping")) {
10skipping_negotiator_init(negotiator);
11return;
12}
13default_negotiator_init(negotiator);
14}