Commit Diff
--- lib/pack_index.c +++ lib/pack_index.c @@ -914,7 +914,7 @@ got_pack_index(struct got_pack *pack, int idxfd, FILE goto done; } nresolved += n; - nvalid += nresolved; + nvalid += n; } if (nloose + nresolved != nobj) {
--- lib/pack_index.c +++ lib/pack_index.c @@ -914,7 +914,7 @@ got_pack_index(struct got_pack *pack, int idxfd, FILE goto done; } nresolved += n; - nvalid += nresolved; + nvalid += n; } if (nloose + nresolved != nobj) {