diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-24 19:58:30 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-24 19:58:30 -0700 |
commit | d1cb7ac49b7ab9195383bca50f6aec8b6de2c0d7 (patch) | |
tree | 327e0de8d220bf22c8c7ed94002b7951091e972b /cache.h | |
parent | Remove upload-tar and make git-tar-tree a thin wrapper to git-archive (diff) | |
parent | many cleanups to sha1_file.c (diff) | |
download | tgif-d1cb7ac49b7ab9195383bca50f6aec8b6de2c0d7.tar.xz |
Merge early parts of branch 'np/pack'
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -390,10 +390,10 @@ extern void unuse_packed_git(struct packed_git *); extern struct packed_git *add_packed_git(char *, int, int); extern int num_packed_objects(const struct packed_git *p); extern int nth_packed_object_sha1(const struct packed_git *, int, unsigned char*); -extern int find_pack_entry_one(const unsigned char *, struct pack_entry *, struct packed_git *); -extern void *unpack_entry_gently(struct pack_entry *, char *, unsigned long *); +extern unsigned long find_pack_entry_one(const unsigned char *, struct packed_git *); +extern void *unpack_entry_gently(struct packed_git *, unsigned long, char *, unsigned long *); extern unsigned long unpack_object_header_gently(const unsigned char *buf, unsigned long len, enum object_type *type, unsigned long *sizep); -extern void packed_object_info_detail(struct pack_entry *, char *, unsigned long *, unsigned long *, unsigned int *, unsigned char *); +extern void packed_object_info_detail(struct packed_git *, unsigned long, char *, unsigned long *, unsigned long *, unsigned int *, unsigned char *); /* Dumb servers support */ extern int update_server_info(int); |