#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "oid-array.h" #include "hash-lookup.h" void oid_array_append(struct oid_array *array, const struct object_id *oid) { … } static int void_hashcmp(const void *va, const void *vb) { … } void oid_array_sort(struct oid_array *array) { … } static const struct object_id *oid_access(size_t index, const void *table) { … } int oid_array_lookup(struct oid_array *array, const struct object_id *oid) { … } void oid_array_clear(struct oid_array *array) { … } int oid_array_for_each(struct oid_array *array, for_each_oid_fn fn, void *data) { … } int oid_array_for_each_unique(struct oid_array *array, for_each_oid_fn fn, void *data) { … } void oid_array_filter(struct oid_array *array, for_each_oid_fn want, void *cb_data) { … }