Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
i18n: send-email: mark composing message for translation
[gitweb.git]
/
hex.c
diff --git
a/hex.c
b/hex.c
index 60541c9d4b5e8e33e3e952ee638fad9e4230799d..ab2610e498615b197787a8c22cd00f979e488fc8 100644
(file)
--- a/
hex.c
+++ b/
hex.c
@@
-69,6
+69,11
@@
char *sha1_to_hex_r(char *buffer, const unsigned char *sha1)
return buffer;
}
+char *oid_to_hex_r(char *buffer, const struct object_id *oid)
+{
+ return sha1_to_hex_r(buffer, oid->hash);
+}
+
char *sha1_to_hex(const unsigned char *sha1)
{
static int bufno;