Code

index-pack: rationalize delta resolution code
authorNicolas Pitre <nico@cam.org>
Fri, 17 Oct 2008 19:57:57 +0000 (15:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Oct 2008 13:17:32 +0000 (06:17 -0700)
commit9441b61dc5c3f1f984114ec8bd470dc20c55dfe0
treee2f151e936faa408f2e03e777f7dac153866a2cb
parent46dc1b0e332612aa32c139007fa33f4b429de9d1
index-pack: rationalize delta resolution code

Instead of having strange loops for walking unresolved deltas with the
same base duplicated in many places, let's rework the code so this is
done in a single place instead.  This simplifies callers quite a bit too.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
index-pack.c