summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:24 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commit9a4286537489f77b6e68f0ad0fc4398c4ec9846b (patch)
treea0083dd4aad7dd729fbf8f5758f91f972ee2f26d /packfile.h
parent97de1803f8972c41703424bb1697c224deb2b558 (diff)
downloadgit-9a4286537489f77b6e68f0ad0fc4398c4ec9846b.tar.gz
pack: move add_packed_git()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index c669c11f88..e182f7fd68 100644
--- a/packfile.h
+++ b/packfile.h
@@ -46,6 +46,7 @@ extern unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t
extern void close_pack_windows(struct packed_git *);
extern void close_all_packs(void);
extern void unuse_pack(struct pack_window **);
+extern struct packed_git *add_packed_git(const char *path, size_t path_len, int local);
extern void release_pack_memory(size_t);