git: avoid uninterruptible temporary warning

dont' fall into the rathole.
This commit is contained in:
Ori Bernstein 2021-06-06 23:50:45 +00:00
parent 8d578014cf
commit 8aa69e55b6
3 changed files with 6 additions and 4 deletions

View file

@ -1000,7 +1000,8 @@ readidxobject(Biobuf *idx, Hash h, int flag)
retried = 0;
retry:
for(i = 0; i < npackf; i++){
if((o = searchindex(packf[i].idx, packf[i].nidx, h)) != -1){
o = searchindex(packf[i].idx, packf[i].nidx, h);
if(o != -1){
if((f = openpack(&packf[i])) == nil)
goto error;
if((r = Bseek(f, o, 0)) != -1)