author | Nicolas Pitre <nico@cam.org> | |
Thu, 21 Sep 2006 04:09:44 +0000 (00:09 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 27 Sep 2006 07:12:00 +0000 (00:12 -0700) | ||
commit | be6b19145f64f62790049c06320c35011f7312a7 | |
tree | f83948d0c994e2641e92d0953e1ef6aee4ff4db1 | tree | snapshot |
parent | 53dda6ff6263a3f350514d9edae600468c946ed4 | commit | diff |
make git-pack-objects able to create deltas with offset to base
This is enabled with --delta-base-offset only, and doesn't work with
pack data reuse yet.
The idea is to allow for the fetch protocol to use an extension flag
to notify the remote end that --delta-base-offset can be used with
git-pack-objects. Eventually git-repack will always provide this flag.
With this, all delta base objects are now pushed before deltas that depend
on them. This is a requirements for OBJ_OFS_DELTA. This is not a
requirement for OBJ_REF_DELTA but always doing so makes the code simpler.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This is enabled with --delta-base-offset only, and doesn't work with
pack data reuse yet.
The idea is to allow for the fetch protocol to use an extension flag
to notify the remote end that --delta-base-offset can be used with
git-pack-objects. Eventually git-repack will always provide this flag.
With this, all delta base objects are now pushed before deltas that depend
on them. This is a requirements for OBJ_OFS_DELTA. This is not a
requirement for OBJ_REF_DELTA but always doing so makes the code simpler.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c | diff | blob | history |