Merge branch 'sg/travis-retrieve-trash-upon-failure'
[git/git-svn.git] / fetch-negotiator.c
blob5d283049f4ac0a1282db16dd9d61cffd2b9a53dd
1 #include "git-compat-util.h"
2 #include "fetch-negotiator.h"
3 #include "negotiator/default.h"
4 #include "negotiator/skipping.h"
6 void fetch_negotiator_init(struct fetch_negotiator *negotiator,
7 const char *algorithm)
9 if (algorithm && !strcmp(algorithm, "skipping")) {
10 skipping_negotiator_init(negotiator);
11 return;
13 default_negotiator_init(negotiator);