[PATCH] Remove "delta" object representation.
Packed delta files created by git-pack-objects seems to be the way to go, and existing "delta" object handling code has exposed the object representation details to too many places. Remove it while we refactor code to come up with a proper interface in sha1_file.c. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
ee85cbc688
commit
c4584ae3fd
9
delta.h
9
delta.h
@ -9,13 +9,4 @@ extern void *patch_delta(void *src_buf, unsigned long src_size,
|
||||
void *delta_buf, unsigned long delta_size,
|
||||
unsigned long *dst_size);
|
||||
|
||||
/* handling of delta objects */
|
||||
struct delta;
|
||||
struct object_list;
|
||||
extern struct delta *lookup_delta(const unsigned char *sha1);
|
||||
extern int parse_delta_buffer(struct delta *item, void *buffer, unsigned long size);
|
||||
extern int parse_delta(struct delta *item, unsigned char sha1);
|
||||
extern int process_deltas(void *src, unsigned long src_size,
|
||||
const char *src_type, struct object_list *delta);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user