diff --git a/sys/src/cmd/git/fetch.c b/sys/src/cmd/git/fetch.c index 558837e97..d82e56f11 100644 --- a/sys/src/cmd/git/fetch.c +++ b/sys/src/cmd/git/fetch.c @@ -267,7 +267,7 @@ fetchpack(Conn *c) if((packtmp = smprint(".git/objects/pack/fetch.%d.pack", getpid())) == nil) sysfatal("smprint: %r"); - if((idxtmp = smprint(".git/objects/idx/fetch.%d.idx", getpid())) == nil) + if((idxtmp = smprint(".git/objects/pack/fetch.%d.idx", getpid())) == nil) sysfatal("smprint: %r"); if(mkoutpath(packtmp) == -1) sysfatal("could not create %s: %r", packtmp);