commit - 786292d9aa58e6264e0912c181f83362c8e58778
commit + 11cdebc1fb6c9fb957341857e86f14bd31cc3e30
blob - b039c61e57352c8c98d18add20a62a7efa415a08
blob + 816a3411e6cbfada5a7262f927d19c9645040bfa
--- lib/object.c
+++ lib/object.c
static const struct got_error *
read_commit_object_privsep(struct got_commit_object **commit,
- struct got_repository *repo, struct got_object *obj, int fd)
+ struct got_object *obj, int fd)
{
const struct got_error *err = NULL, *err_child = NULL;
struct imsgbuf parent_ibuf;
err = open_loose_object(&fd, obj, repo);
if (err)
return err;
- err = read_commit_object_privsep(commit, repo, obj, fd);
+ err = read_commit_object_privsep(commit, obj, fd);
close(fd);
}