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;
> +};
The oidmap key
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 changed, 16 insertions(+), 60 deletions(-)
diff -
2 matches
Mail list logo