remote.c: make singular free_ref() public
[gitweb.git] / remote.h
index da53ad570b91dbd4a820ffc79541fb0a4915ff6b..f58332a27e96ee9e3ec7bea53e7889d62a0140a2 100644 (file)
--- a/remote.h
+++ b/remote.h
@@ -131,8 +131,10 @@ int ref_compare_name(const void *, const void *);
 int check_ref_type(const struct ref *ref, int flags);
 
 /*
- * Frees the entire list and peers of elements.
+ * Free a single ref and its peer, or an entire list of refs and their peers,
+ * respectively.
  */
+void free_one_ref(struct ref *ref);
 void free_refs(struct ref *ref);
 
 struct oid_array;