]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/prune.c
object: rename function 'typename' to 'type_name'
[thirdparty/git.git] / builtin / prune.c
index d2fdae680a1ebe75d55d4fb66a3bdd0b54829666..c175f154ea58c7ca45954034d5af35cfa9e5a576 100644 (file)
@@ -52,7 +52,7 @@ static int prune_object(const struct object_id *oid, const char *fullpath,
        if (show_only || verbose) {
                enum object_type type = sha1_object_info(oid->hash, NULL);
                printf("%s %s\n", oid_to_hex(oid),
-                      (type > 0) ? typename(type) : "unknown");
+                      (type > 0) ? type_name(type) : "unknown");
        }
        if (!show_only)
                unlink_or_warn(fullpath);