commit 57bc7b6dd5c57ab4bde2a20937e5a5c8e7c3a624 from: Stefan Sperling date: Sun Apr 10 12:10:52 2022 UTC don't forget to call the cancel callback while coloring commits in findtwixt() commit - 03c03172348b5f515b9ce884313118428a8674b5 commit + 57bc7b6dd5c57ab4bde2a20937e5a5c8e7c3a624 blob - 8a2f38c2fd49f037d68d024c2463fd01fd4231ba blob + 424716ca93e16a911d4242842be9f4202b9b1f83 --- lib/pack_create.c +++ lib/pack_create.c @@ -1296,6 +1296,13 @@ findtwixt(struct got_object_id ***res, int *nres, int while (!STAILQ_EMPTY(&ids)) { int qcolor; + + if (cancel_cb) { + err = cancel_cb(cancel_arg); + if (err) + goto done; + } + qid = STAILQ_FIRST(&ids); qcolor = *((int *)qid->data);