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