packfile: allow prepare_packed_git_mru to handle arbitrary repositories
commit804be79690287e2fdb95f4ce66504f9aed5dcf8f
authorStefan Beller <sbeller@google.com>
Fri, 23 Mar 2018 17:45:16 +0000 (23 18:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Mar 2018 17:07:43 +0000 (26 10:07 -0700)
tree0cb7e785756b2f5254932d1533a0eec112aec845
parent4a7c05f7d7f17cd7a42fa944e79c2ef294cb17b6
packfile: allow prepare_packed_git_mru 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 all lines are converted and it has only one caller

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c