diff --git a/sys/src/cmd/git/pack.c b/sys/src/cmd/git/pack.c index 0d0a1eea4..6b05021d0 100644 --- a/sys/src/cmd/git/pack.c +++ b/sys/src/cmd/git/pack.c @@ -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)