commit - d60570848cd614b529f720c17d37d54c77dd5949
commit + 7a0952773e482459a286e0128d0a192fcaaeb8c9
blob - c0609cd0d9a7a9d4a0f2979504883cf99a757ef4
blob + 787504ad4f6f0817c648d3f24b5d75d65da66010
--- gotd/repo_write.c
+++ gotd/repo_write.c
err = got_ref_resolve(&expected_yca_id, repo_write.repo, ref);
if (err)
return err;
-
+
err = got_object_get_type(&obj_type, repo_write.repo, expected_yca_id);
if (err)
goto done;
err = got_object_open_as_commit(&commit, repo, &qid->id);
if (err)
break;
-
+
if (ncommits > shortlog_threshold) {
err = print_commit_oneline(commit, &qid->id,
repo, fd);
}
static const struct got_error *
-print_tag(struct got_object_id *id,
+print_tag(struct got_object_id *id,
const char *refname, struct got_repository *repo, int fd)
{
const struct got_error *err = NULL;