diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-04-23 13:58:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-23 13:58:50 -0700 |
commit | bb74c0abbc31da35be52999569ea481ebd149d1d (patch) | |
tree | e10db152ee6486a1b9af0f7990a140730ebe0ce2 /object.h | |
parent | 68cd0cfa7ef753cc5549aa7882790565d51b9133 (diff) | |
parent | a52d459e72b890c192485002ec518bb9e01c19a6 (diff) |
Merge branch 'kn/bundle-dedup-optim'
Optimize the code to dedup references recorded in a bundle file.
* kn/bundle-dedup-optim:
bundle: fix non-linear performance scaling with refs
t6020: test for duplicate refnames in bundle creation
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -327,12 +327,6 @@ void object_array_filter(struct object_array *array, object_array_each_func_t want, void *cb_data); /* - * Remove from array all but the first entry with a given name. - * Warning: this function uses an O(N^2) algorithm. - */ -void object_array_remove_duplicates(struct object_array *array); - -/* * Remove any objects from the array, freeing all used memory; afterwards * the array is ready to store more objects with add_object_array(). */ |