summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-04-23 13:58:50 -0700
committerJunio C Hamano <gitster@pobox.com>2025-04-23 13:58:50 -0700
commitbb74c0abbc31da35be52999569ea481ebd149d1d (patch)
treee10db152ee6486a1b9af0f7990a140730ebe0ce2 /object.h
parent68cd0cfa7ef753cc5549aa7882790565d51b9133 (diff)
parenta52d459e72b890c192485002ec518bb9e01c19a6 (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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/object.h b/object.h
index a304093979..8c3c1c46e1 100644
--- a/object.h
+++ b/object.h
@@ -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().
*/