Merge branch 'rv/grep-cleanup'
[gitweb.git] / builtin / prune.c
index 4cfec82f4076e357048bcb5816ceeb0f4b020192..4394d01c9350ae3e1fa26de034edf1509128469e 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);