diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-18 15:20:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-23 15:12:07 -0700 |
commit | 7b3aa75df7db72a283a11b9ce41658b89576db2b (patch) | |
tree | 21f4a19de17bc52fbf779ca4227a2462af3fd4ea /packfile.h | |
parent | 32b42e152fcc453273fadb5a7d639e4e9b506783 (diff) | |
download | git-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.h | 1 |
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); |