git: fix non-interruptible temporary warning

harmless, but annoying.
Ori Bernstein 2021-08-11 15:00:48 +00:00
parent a05d656054
commit 54993a1f5b
1 changed files with 2 additions and 1 deletions

View File

@ -1676,7 +1676,8 @@ genpack(int fd, Meta **meta, int nmeta, Hash *h, int odelta)
for(i = 0; i < nmeta; i++){
pct = showprogress((i*100)/nmeta, pct);
m = meta[i];
if((m->off = Boffset(bfd)) == -1)
m->off = Boffset(bfd);
if(m->off == -1)
goto error;
if((o = readobject(m->obj->hash)) == nil)
return -1;