commit - 6ccb713b7c821120ac65a0ec17483294f6708c43
commit + 9710aac2fcc11960009a5aad05cda68a89e85b7a
blob - 366063e4d86c55f872ef8935163d3737636da19d
blob + 3ec264fcdf777cbd3e6b7dabb936c418472ef058
--- lib/pack.c
+++ lib/pack.c
}
static const struct got_error *
-open_packed_plain_object(struct got_object **obj, const char *path_packfile,
+open_plain_object(struct got_object **obj, const char *path_packfile,
struct got_object_id *id, uint8_t type, off_t offset, size_t size)
{
*obj = calloc(1, sizeof(**obj));
case GOT_OBJ_TYPE_COMMIT:
case GOT_OBJ_TYPE_TREE:
case GOT_OBJ_TYPE_BLOB:
- err = open_packed_plain_object(obj, path_packfile, id, type,
+ err = open_plain_object(obj, path_packfile, id, type,
offset + tslen, size);
break;