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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#include "git-compat-util.h"
#include "fetch-negotiator.h"
#include "negotiator/default.h"
#include "negotiator/skipping.h"
#include "repository.h"
#include "repo-settings.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_DEFAULT:
	default:
		default_negotiator_init(negotiator);
		return;
	}
}
debug log:

solving 1a68be1a2e ...
found 1a68be1a2e in https://public-inbox.org/git/b8a631683a116f48ddf7ac3ff98db7f81aa2bcc0.1564021393.git.gitgitgadget@gmail.com/
found d6d685cba0 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 d6d685cba012d6765b3998fde14b5c40fff82a96	fetch-negotiator.c

applying [1/1] https://public-inbox.org/git/b8a631683a116f48ddf7ac3ff98db7f81aa2bcc0.1564021393.git.gitgitgadget@gmail.com/
diff --git a/fetch-negotiator.c b/fetch-negotiator.c
index d6d685cba0..1a68be1a2e 100644

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

index at:
100644 1a68be1a2e1378854dc6ad18812635e6ac4736ea	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).