Commit Diff


commit - 65141cb008376f4f0547d3bb77a858bdf3d3ebfa
commit + ae2b0251ce94a8d30e4cc6640e67356814ea1eb2
blob - b0465d88fc8f0573d3958b002962d1464bf027b8
blob + 69157b2850f214080eb97cc674ba7ca0b5a212e2
--- lib/pack_create.c
+++ lib/pack_create.c
@@ -1455,7 +1455,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++) {