add COPY_ARRAY
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index f1dc289d068f554b73434e9f8bf5d723a3e78519..a93d1b7f5ddd504afa9d9de8988038e165bf6056 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1193,6 +1193,7 @@ extern int get_oid_hex(const char *hex, struct object_id *sha1);
  *   printf("%s -> %s", sha1_to_hex(one), sha1_to_hex(two));
  */
 extern char *sha1_to_hex_r(char *out, const unsigned char *sha1);
+extern char *oid_to_hex_r(char *out, const struct object_id *oid);
 extern char *sha1_to_hex(const unsigned char *sha1);   /* static buffer result! */
 extern char *oid_to_hex(const struct object_id *oid);  /* same static buffer as sha1_to_hex */