• J
    pack: move pack name-related functions · 4f39cd82
    Jonathan Tan 提交于
    Currently, sha1_file.c and cache.h contain many functions, both related
    to and unrelated to packfiles. This makes both files very large and
    causes an unclear separation of concerns.
    
    Create a new file, packfile.c, to hold all packfile-related functions
    currently in sha1_file.c. It has a corresponding header packfile.h.
    
    In this commit, the pack name-related functions are moved. Subsequent
    commits will move the other functions.
    Signed-off-by: NJonathan Tan <jonathantanmy@google.com>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    4f39cd82
cache.h 69.4 KB