diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-18 15:20:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-23 15:12:07 -0700 |
commit | 3588dd6e994b38b02c2f60544fe2f69ce5fdf927 (patch) | |
tree | 0a3297c84872f577fb8bf9351811c249f0dff682 /packfile.h | |
parent | 7b3aa75df7db72a283a11b9ce41658b89576db2b (diff) | |
download | git-3588dd6e994b38b02c2f60544fe2f69ce5fdf927.tar.gz |
pack: move unpack_object_header()
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 c2ae717d4c..ca76fbf5b0 100644 --- a/packfile.h +++ b/packfile.h @@ -64,6 +64,7 @@ extern struct packed_git *add_packed_git(const char *path, size_t path_len, int 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 int unpack_object_header(struct packed_git *, struct pack_window **, off_t *, unsigned long *); extern void release_pack_memory(size_t); |