commit dc3fe1bf10950c200037f0198f2445ea176f8cc3 from: Stefan Sperling date: Tue May 10 11:24:12 2022 UTC fix load_object_ids() such that packing tags works if zero commits are packed reported by jrick and op commit - cab5dc8bbeefffc8a4319ec0788b472e1084a564 commit + dc3fe1bf10950c200037f0198f2445ea176f8cc3 blob - c35a034dafda33eb7652d7a5aa5627ebf4996d1c blob + 65a01855e246721cbb578dbccf44ebc5691837fc --- lib/pack_create.c +++ lib/pack_create.c @@ -1456,7 +1456,7 @@ load_object_ids(int *ncolored, int *nfound, int *ntree err = findtwixt(&ids, &nobj, ncolored, ours, nours, theirs, ntheirs, repo, progress_cb, progress_arg, rl, cancel_cb, cancel_arg); - if (err || nobj == 0) + if (err) goto done; for (i = 0; i < ntheirs; i++) {