From: Johannes Schindelin Date: Thu, 29 Sep 2005 19:28:52 GMT Subject: Re: [PATCH] fetch-pack should not ask for a ref which is already there Message-ID: In-Reply-To: Hi, On Thu, 29 Sep 2005, Johannes Schindelin wrote: > Hi, > > On Thu, 29 Sep 2005, Linus Torvalds wrote: > > > On Thu, 29 Sep 2005, Johannes Schindelin wrote: > > > > > > With this patch, instead of blindly asking for every remote ref, > > > fetch-pack first looks in the local repository if that ref is > > > already there. > > > > No. This is WRONG. Following up on the "I'd rather download twice than have a corrupt repository": Wouldn't it make much more sense to add a flag which repairs an incomplete fetch? After all, not every day you fsck up a fetch, right? So, be nice to the server, the network and all the rest, in most cases, and be not so nice if you know something went wrong and you want to fix it. Ciao, Dscho