commit: add generation number to struct commit
[gitweb.git] / reachable.c
index 88d7d679da9c837463f74d9a9277025b008635af..191ebe3e6a99d26913a510967a9545f53db58bc8 100644 (file)
@@ -94,7 +94,7 @@ static void add_recent_object(const struct object_id *oid,
                break;
        default:
                die("unknown object type for %s: %s",
-                   oid_to_hex(oid), typename(type));
+                   oid_to_hex(oid), type_name(type));
        }
 
        if (!obj)