Karthik Nayak <karthik.188@xxxxxxxxx> writes: > In `gc.c` add it to the `gc_config` struct and also the constructor > function. The gc functions currently do not have direct access to a > repository struct. We should remember to remove this member from gc_config when we pass the repository through the callchain. As a built-in, cmd_gc() should already be receiving the repository as its parameter, so it may not have to wait for a long time before we are ready to do so. Perhaps have a comment next to the member's definition to remind us? > These changes are made to remove the usage of `delta_base_cache_limit` > as a global variable in `packfile.c`. This brings us one step closer to > removing the `USE_THE_REPOSITORY_VARIABLE` definition in `packfile.c` > which we complete in the next patch. OK. IIUC, Taylor's comment to avoid repeated calls to configuration layer to obtain delta_base_cache_limit, aside from typofixes, was the only thing remaining for this topic? If so, everything is looking really good.