author | Nicolas Pitre <nico@cam.org> | |
Fri, 17 Oct 2008 19:57:57 +0000 (15:57 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 18 Oct 2008 13:17:32 +0000 (06:17 -0700) | ||
commit | 9441b61dc5c3f1f984114ec8bd470dc20c55dfe0 | |
tree | e2f151e936faa408f2e03e777f7dac153866a2cb | tree | snapshot |
parent | 46dc1b0e332612aa32c139007fa33f4b429de9d1 | commit | diff |
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>
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 | diff | blob | history |