author | Nicolas Pitre <nico@cam.org> | |
Tue, 25 Apr 2006 03:07:47 +0000 (23:07 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 25 Apr 2006 05:27:33 +0000 (22:27 -0700) | ||
commit | 08abe669c05521499149dbf84fedefb04a8fa34d | |
tree | c08d8f9f4382085c76bbb9c1f3ffa47364746775 | tree | snapshot |
parent | 36932eab772dc621e79d615fda425ecf87e6d74e | commit | diff |
split the diff-delta interface
This patch splits the diff-delta interface into index creation and delta
generation. A wrapper is provided to preserve the diff-delta() call.
This will allow for an optimization in pack-objects.c where the source
object could be fixed and a full window of objects tentatively tried
against
that same source object without recomputing the source index each time.
This patch only restructure things, plus a couple cleanups for good
measure. There is no performance change yet.
Signed-off-by: Nicolas Pitre <nico@cam.org>
This patch splits the diff-delta interface into index creation and delta
generation. A wrapper is provided to preserve the diff-delta() call.
This will allow for an optimization in pack-objects.c where the source
object could be fixed and a full window of objects tentatively tried
against
that same source object without recomputing the source index each time.
This patch only restructure things, plus a couple cleanups for good
measure. There is no performance change yet.
Signed-off-by: Nicolas Pitre <nico@cam.org>
delta.h | diff | blob | history | |
diff-delta.c | diff | blob | history | |
patch-delta.c | diff | blob | history |