• Jonathan Tan's avatar
    pack: move pack name-related functions · 4f39cd82
    Jonathan Tan authored
    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: default avatarJonathan Tan <jonathantanmy@google.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
Last commit
Last update
packfile.h Loading commit data...