OSDN Git Service

Thin pack - create packfile with missing delta base.
authorJunio C Hamano <junkio@cox.net>
Sun, 19 Feb 2006 22:47:21 +0000 (14:47 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 20 Feb 2006 06:27:39 +0000 (22:27 -0800)
commit7a979d99bafae3576d9480007f958eed0c9e0278
treebce2da908778ddba105e87599dd60e4f7371a486
parente4c9327a77bd59e85d4b17a612e78977d68773ee
Thin pack - create packfile with missing delta base.

This goes together with "rev-list --object-edge" change, to feed
pack-objects list of edge commits in addition to the usual
object list.  Upon seeing such list, pack-objects loosens the
usual "self contained delta" constraints, and can produce delta
against blobs and trees contained in the edge commits without
storing the delta base objects themselves.

The resulting packfile is not usable in .git/object/packs, but
is a good way to implement "delta-only" transfer.

Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c