summaryrefslogtreecommitdiff
path: root/pack-check.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 22:20:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-23 22:12:06 (GMT)
commit0317f45576a0b48c90c4b023fa572a000633946c (patch)
tree987b83cab92be9282e64c7011b2008884f373a51 /pack-check.c
parent8e21176c3cff203c1b991fda55df3ac7904d09fa (diff)
downloadgit-0317f45576a0b48c90c4b023fa572a000633946c.zip
git-0317f45576a0b48c90c4b023fa572a000633946c.tar.gz
git-0317f45576a0b48c90c4b023fa572a000633946c.tar.bz2
pack: move open_pack_index(), parse_pack_index()
alloc_packed_git() in packfile.c is duplicated from sha1_file.c. In a subsequent commit, alloc_packed_git() will be removed from sha1_file.c. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-check.c')
-rw-r--r--pack-check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pack-check.c b/pack-check.c
index e1fcb22..073c1fb 100644
--- a/pack-check.c
+++ b/pack-check.c
@@ -2,6 +2,7 @@
#include "pack.h"
#include "pack-revindex.h"
#include "progress.h"
+#include "packfile.h"
struct idx_entry {
off_t offset;