Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
object: rename function 'typename' to 'type_name'
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index ff51c9f34a975fdd3320f8c185f6e3c8b5176e81..cd9ace105dc150da877c55f9e8f5f6da9e1efb7b 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-274,7
+274,7
@@
const void *get_commit_buffer(const struct commit *commit, unsigned long *sizep)
oid_to_hex(&commit->object.oid));
if (type != OBJ_COMMIT)
die("expected commit for %s, got %s",
- oid_to_hex(&commit->object.oid), typename(type));
+ oid_to_hex(&commit->object.oid), type
_
name(type));
if (sizep)
*sizep = size;
}