• Nicolas Pitre's avatar
    split the diff-delta interface · 08abe669
    Nicolas Pitre authored
    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: default avatarNicolas Pitre <nico@cam.org>
    08abe669
delta.h 3.13 KB