path: root/pack.h
diff options
authorNicolas Pitre <>2006-09-23 01:25:04 (GMT)
committerJunio C Hamano <>2006-09-27 07:12:00 (GMT)
commit780e6e735be189097dad4b223d8edeb18cce1928 (patch)
tree834f1ae5995ed2590c2c8abf41a9652ee0567921 /pack.h
parentbe6b19145f64f62790049c06320c35011f7312a7 (diff)
make pack data reuse compatible with both delta types
This is the missing part to git-pack-objects allowing it to reuse delta data to/from any of the two delta types. It can reuse delta from any type, and it outputs base offsets when --allow-delta-base-offset is provided and the base is also included in the pack. Otherwise it outputs base sha1 references just like it always did. Signed-off-by: Nicolas Pitre <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'pack.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/pack.h b/pack.h
index 05557da..4c9bddd 100644
--- a/pack.h
+++ b/pack.h
@@ -16,7 +16,4 @@ struct pack_header {
extern int verify_pack(struct packed_git *, int);
-extern int check_reuse_pack_delta(struct packed_git *, unsigned long,
- unsigned char *, unsigned long *,
- enum object_type *);