Code

bundle: allow the same ref to be given more than once
[git.git] / object.h
index 036bd66fe9b6591e959e6df51160e636ab1a682e..31939166382ffdd9c42d2b52983dfe1c605b9b7a 100644 (file)
--- a/object.h
+++ b/object.h
@@ -71,5 +71,6 @@ int object_list_contains(struct object_list *list, struct object *obj);
 /* Object array handling .. */
 void add_object_array(struct object *obj, const char *name, struct object_array *array);
 void add_object_array_with_mode(struct object *obj, const char *name, struct object_array *array, unsigned mode);
+void object_array_remove_duplicates(struct object_array *);
 
 #endif /* OBJECT_H */