MCPcopy Index your code
hub / github.com/git/git / fetch_pack_config

Function fetch_pack_config

fetch-pack.c:1995–2013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1993}
1994
1995static void fetch_pack_config(void)
1996{
1997 repo_config_get_int(the_repository, "fetch.unpacklimit", &fetch_unpack_limit);
1998 repo_config_get_int(the_repository, "transfer.unpacklimit", &transfer_unpack_limit);
1999 repo_config_get_bool(the_repository, "repack.usedeltabaseoffset", &prefer_ofs_delta);
2000 repo_config_get_bool(the_repository, "fetch.fsckobjects", &fetch_fsck_objects);
2001 repo_config_get_bool(the_repository, "transfer.fsckobjects", &transfer_fsck_objects);
2002 repo_config_get_bool(the_repository, "transfer.advertisesid", &advertise_sid);
2003 if (!uri_protocols.nr) {
2004 char *str;
2005
2006 if (!repo_config_get_string(the_repository, "fetch.uriprotocols", &str) && str) {
2007 string_list_split(&uri_protocols, str, ",", -1);
2008 free(str);
2009 }
2010 }
2011
2012 repo_config(the_repository, fetch_pack_config_cb, NULL);
2013}
2014
2015static void fetch_pack_setup(void)
2016{

Callers 1

fetch_pack_setupFunction · 0.85

Calls 5

repo_config_get_intFunction · 0.85
repo_config_get_boolFunction · 0.85
repo_config_get_stringFunction · 0.85
string_list_splitFunction · 0.85
repo_configFunction · 0.70

Tested by

no test coverage detected