summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:28 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commit7b3aa75df7db72a283a11b9ce41658b89576db2b (patch)
tree21f4a19de17bc52fbf779ca4227a2462af3fd4ea /packfile.h
parent32b42e152fcc453273fadb5a7d639e4e9b506783 (diff)
downloadgit-7b3aa75df7db72a283a11b9ce41658b89576db2b.tar.gz
pack: move get_size_from_delta()
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 3954e3ec48..c2ae717d4c 100644
--- a/packfile.h
+++ b/packfile.h
@@ -63,6 +63,7 @@ extern void unuse_pack(struct pack_window **);
extern struct packed_git *add_packed_git(const char *path, size_t path_len, int local);
extern unsigned long unpack_object_header_buffer(const unsigned char *buf, unsigned long len, enum object_type *type, unsigned long *sizep);
+extern unsigned long get_size_from_delta(struct packed_git *, struct pack_window **, off_t);
extern void release_pack_memory(size_t);