git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
e2ecbe43674b34a9df3685749765315a05b29289 blob 609 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#include "git-compat-util.h"
#include "fetch-negotiator.h"
#include "negotiator/default.h"
#include "negotiator/skipping.h"
#include "negotiator/null.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_NULL:
		null_negotiator_init(negotiator);
		return;

	case FETCH_NEGOTIATION_DEFAULT:
	default:
		default_negotiator_init(negotiator);
		return;
	}
}
debug log:

solving e2ecbe4367 ...
found e2ecbe4367 in https://public-inbox.org/git/78d47204044dbe650cc782001de793a7cdf85692.1596590295.git.jonathantanmy@google.com/ ||
	https://public-inbox.org/git/35bdd372ae3691f54775dd616576e8ed6d68f1d3.1597184949.git.jonathantanmy@google.com/
found 0a1357dc9d in git.git.git
preparing index
index prepared:
100644 0a1357dc9d55b34992ff5a6f65e3bdf77375465e	fetch-negotiator.c

applying [1/2] https://public-inbox.org/git/78d47204044dbe650cc782001de793a7cdf85692.1596590295.git.jonathantanmy@google.com/
diff --git a/fetch-negotiator.c b/fetch-negotiator.c
index 0a1357dc9d..e2ecbe4367 100644

Checking patch fetch-negotiator.c...
Applied patch fetch-negotiator.c cleanly.

skipping https://public-inbox.org/git/35bdd372ae3691f54775dd616576e8ed6d68f1d3.1597184949.git.jonathantanmy@google.com/ for e2ecbe4367
index at:
100644 e2ecbe43674b34a9df3685749765315a05b29289	fetch-negotiator.c

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).