Revision be85cfc4dbef9ffa177770f8607fd4a85445565e authored by Taylor Blau on 30 September 2022, 21:22:02 UTC, committed by Taylor Blau on 06 October 2022, 21:43:08 UTC
Signed-off-by: Taylor Blau <me@ttaylorr.com>
1 parent 478a426
fetch-negotiator.c
#include "git-compat-util.h"
#include "fetch-negotiator.h"
#include "negotiator/default.h"
#include "negotiator/skipping.h"
#include "negotiator/noop.h"
#include "repository.h"
void fetch_negotiator_init(struct repository *r,
struct fetch_negotiator *negotiator)
{
prepare_repo_settings(r);
switch(r->settings.fetch_negotiation_algorithm) {
case FETCH_NEGOTIATION_SKIPPING:
skipping_negotiator_init(negotiator);
return;
case FETCH_NEGOTIATION_NOOP:
noop_negotiator_init(negotiator);
return;
case FETCH_NEGOTIATION_DEFAULT:
default_negotiator_init(negotiator);
return;
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...