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

Function fetch_pack_setup

fetch-pack.c:2015–2026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2013}
2014
2015static void fetch_pack_setup(void)
2016{
2017 static int did_setup;
2018 if (did_setup)
2019 return;
2020 fetch_pack_config();
2021 if (0 <= fetch_unpack_limit)
2022 unpack_limit = fetch_unpack_limit;
2023 else if (0 <= transfer_unpack_limit)
2024 unpack_limit = transfer_unpack_limit;
2025 did_setup = 1;
2026}
2027
2028static int remove_duplicates_in_refs(struct ref **ref, int nr)
2029{

Callers 2

fetch_pack_fsck_objectsFunction · 0.85
fetch_packFunction · 0.85

Calls 1

fetch_pack_configFunction · 0.85

Tested by

no test coverage detected