From: Nguyễn Thái Ngọc Duy Date: Fri, 23 Mar 2018 17:45:27 +0000 (+0100) Subject: packfile: keep prepare_packed_git() private X-Git-Tag: v2.18.0-rc0~143^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/464416a2eaadf84d2bfdf795007863d03b222b7c?hp=464416a2eaadf84d2bfdf795007863d03b222b7c packfile: keep prepare_packed_git() private The reason callers have to call this is to make sure either packed_git or packed_git_mru pointers are initialized since we don't do that by default. Sometimes it's hard to see this connection between where the function is called and where packed_git pointer is used (sometimes in separate functions). Keep this dependency internal because now all access to packed_git and packed_git_mru must go through get_xxx() wrappers. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---