From: Stefan Beller Date: Fri, 23 Mar 2018 17:45:18 +0000 (+0100) Subject: packfile: allow install_packed_git to handle arbitrary repositories X-Git-Tag: v2.18.0-rc0~143^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5babff16d9efdef8c3224d386db0b8ab2a0930d5?hp=5babff16d9efdef8c3224d386db0b8ab2a0930d5 packfile: allow install_packed_git to handle arbitrary repositories This conversion was done without the #define trick used in the earlier series refactoring to have better repository access, because this function is easy to review, as it only has one caller and all lines but the first two are converted. We must not convert 'pack_open_fds' to be a repository specific variable, as it is used to monitor resource usage of the machine that Git executes on. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---