]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.c
object: rename function 'typename' to 'type_name'
[thirdparty/git.git] / 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;
        }