git: when stealing from the old packs list, keep what we stole.

we were missing a return after stealing, which killed the point
of doing the theft.
This commit is contained in:
Ori Bernstein 2021-09-14 16:13:58 +00:00
parent 390abbd1c7
commit 8f4842d346

View file

@ -194,6 +194,7 @@ loadpack(Packf *pf, char *name)
pf->nidx = packf[i].nidx;
packf[i].idx = nil;
packf[i].pack = nil;
return 0;
}
}
if((ifd = open(buf, OREAD)) == -1)