path: root/delta.h
diff options
authorJunio C Hamano <>2005-06-27 10:33:33 (GMT)
committerLinus Torvalds <>2005-06-27 22:27:51 (GMT)
commitc4584ae3fd7cd595a638a07dfd853e9d2745e930 (patch)
tree735d3d7612055565941f98219ff862ce24ef2c78 /delta.h
parentee85cbc6887d6ae4eb09a3e2c7319f66ae7c9034 (diff)
[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 <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'delta.h')
1 files changed, 0 insertions, 9 deletions
diff --git a/delta.h b/delta.h
index ccc0c9e..bc3a220 100644
--- a/delta.h
+++ b/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);