• J
    Consolidate ignore_packed logic more · 386cb772
    Junio C Hamano 提交于
    This refactors three loops that check if a given packfile is on the
    ignore_packed list into a function is_kept_pack().  The function returns
    false for a pack on the list, and true for a pack not on the list, because
    this list is solely used by "git repack" to pass list of packfiles that do
    not have corresponding .keep files, i.e. a packfile not on the list is
    "kept".
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    386cb772
cache.h 30.2 KB