diff --git a/object.c b/object.c index 23a24e678a..4be82c1e7b 100644 --- a/object.c +++ b/object.c @@ -199,7 +199,7 @@ struct object *lookup_object_by_type(struct repository *r, case OBJ_BLOB: return (struct object *)lookup_blob(r, oid); default: - die("BUG: unknown object type %d", type); + BUG("unknown object type %d", type); } }