1 Star 1 Fork 0

wl4g-collect/git-2.27.0

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
fetch-negotiator.c 503 Bytes
Copy Edit Raw Blame History
wanglsir authored 2021-05-24 11:40 . Init Commit
#include "git-compat-util.h"
#include "fetch-negotiator.h"
#include "negotiator/default.h"
#include "negotiator/skipping.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_DEFAULT:
default:
default_negotiator_init(negotiator);
return;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/wl4g-collect/git-2.27.0.git
git@gitee.com:wl4g-collect/git-2.27.0.git
wl4g-collect
git-2.27.0
git-2.27.0
master

Search