]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object.c
refs: print error message in debug output
[thirdparty/git.git] / object.c
index 23a24e678a8e33f82b417fa6f005aae7de7bc29f..4be82c1e7bc903ec7f22db2bd521e3b8094dc89e 100644 (file)
--- 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);
        }
 }