• S
    Teach fast-import to honor pack.compression and pack.depth · bb23fdfa
    Shawn O. Pearce 提交于
    We now use the configured pack.compression and pack.depth values
    within fast-import, as like builtin-pack-objects fast-import is
    generating a packfile for consumption by the Git tools.
    
    We use the same behavior as builtin-pack-objects does for these
    options, allowing core.compression to supply the default value
    for pack.compression.
    
    The default setting for pack.depth within fast-import is still 10
    as users will generally repack fast-import generated packfiles by
    `repack -f`.  A large delta depth within the fast-import packfile
    can significantly slow down such a later repack.
    Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    bb23fdfa
fast-import.c 59.6 KB