Re: [PATCH 01/16] replace_object: use oidmap

2018-04-09 Thread Junio C Hamano
Stefan Beller writes: > -static struct replace_object { > - struct object_id original; > +struct replace_object { > + struct oidmap_entry original; > struct object_id replacement; > -} **replace_object; > - > -static int replace_object_alloc, replace_object_nr;

[PATCH 01/16] replace_object: use oidmap

2018-04-09 Thread Stefan Beller
From: René Scharfe Load the replace objects into an oidmap to allow for easy lookups in constant time. Signed-off-by: Rene Scharfe Signed-off-by: Stefan Beller --- replace_object.c | 76 ++-- 1 file