diff options
| author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-18 15:20:16 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-23 15:12:06 -0700 |
| commit | 4f39cd821d1756f5f6d145f987576660136931ee (patch) | |
| tree | c7a0b1de6a17b1336f82bbbd598d766e6d0030e3 /builtin/count-objects.c | |
| parent | Sync with maint (diff) | |
| download | git-4f39cd821d1756f5f6d145f987576660136931ee.tar.gz git-4f39cd821d1756f5f6d145f987576660136931ee.zip | |
pack: move pack name-related functions
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: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions
