summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commit32b42e152fcc453273fadb5a7d639e4e9b506783 (patch)
tree263a76fc30d72df6178c00298dd91e7bfd92c724 /cache.h
parentpack: move {,re}prepare_packed_git and approximate_object_count (diff)
downloadtgif-32b42e152fcc453273fadb5a7d639e4e9b506783.tar.xz
pack: move unpack_object_header_buffer()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index a9f45512dc..faa8940aff 100644
--- a/cache.h
+++ b/cache.h
@@ -1663,7 +1663,6 @@ extern off_t find_pack_entry_one(const unsigned char *sha1, struct packed_git *)
extern int is_pack_valid(struct packed_git *);
extern void *unpack_entry(struct packed_git *, off_t, enum object_type *, unsigned long *);
-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 *);