summaryrefslogtreecommitdiffstats
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-19 00:20:24 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-24 00:12:07 +0200
commit9a4286537489f77b6e68f0ad0fc4398c4ec9846b (patch)
treea0083dd4aad7dd729fbf8f5758f91f972ee2f26d /packfile.h
parentpack: move unuse_pack() (diff)
downloadgit-9a4286537489f77b6e68f0ad0fc4398c4ec9846b.tar.xz
git-9a4286537489f77b6e68f0ad0fc4398c4ec9846b.zip
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);