commit - 4ba321e7535bfa8365fbb77922293c473f0bea01
commit + e2f84af473bb6887ac1d0317ece787fc4364b23a
blob - 225b38877438194ee3a4f7d7843db40dd3553a8f
blob + 9450b19de04927b73300672b3de93b7ef9fe7dee
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
return 0;
}
-int
-got_has_object(struct got_object_id *obj)
-{
- /* TODO */
- return 0;
-}
-
static int
match_branch(char *br, char *pat)
{
for (i = 0; i < nref; i++) {
if (got_object_id_cmp(&have[i], &want[i]) == 0)
continue;
- if (got_has_object(&want[i]))
- continue;
got_sha1_digest_to_str(want[i].sha1, hashstr, sizeof(hashstr));
n = snprintf(buf, sizeof(buf), "want %s%s%s\n", hashstr,
i == 0 && my_capabilities ? " " : "",