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:
parent
390abbd1c7
commit
8f4842d346
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue