summaryrefslogtreecommitdiffstats
path: root/sha1_name.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-19 00:20:19 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-24 00:12:06 +0200
commit0317f45576a0b48c90c4b023fa572a000633946c (patch)
tree987b83cab92be9282e64c7011b2008884f373a51 /sha1_name.c
parentpack: move pack_report() (diff)
downloadgit-0317f45576a0b48c90c4b023fa572a000633946c.tar.xz
git-0317f45576a0b48c90c4b023fa572a000633946c.zip
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 'sha1_name.c')
-rw-r--r--sha1_name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 862b6f1308..134ac9742f 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -9,6 +9,7 @@
#include "remote.h"
#include "dir.h"
#include "sha1-array.h"
+#include "packfile.h"
static int get_oid_oneline(const char *, struct object_id *, struct commit_list *);