commit 7a0952773e482459a286e0128d0a192fcaaeb8c9 from: Omar Polo date: Thu Mar 28 15:52:13 2024 UTC remove trailing whitespaces commit - d60570848cd614b529f720c17d37d54c77dd5949 commit + 7a0952773e482459a286e0128d0a192fcaaeb8c9 blob - c0609cd0d9a7a9d4a0f2979504883cf99a757ef4 blob + 787504ad4f6f0817c648d3f24b5d75d65da66010 --- gotd/repo_write.c +++ gotd/repo_write.c @@ -431,7 +431,7 @@ protect_require_yca(struct got_object_id *tip_id, 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; @@ -1966,7 +1966,7 @@ print_commits(struct got_object_id *root_id, struct go 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); @@ -1998,7 +1998,7 @@ done: } 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;