From: Stefan Sperling Subject: Re: got fetch downloads too much To: Christian Weisgerber Cc: gameoftrees@openbsd.org Date: Wed, 6 Oct 2021 21:42:28 +0200 On Wed, Oct 06, 2021 at 09:23:04PM +0200, Christian Weisgerber wrote: > Stefan Sperling: > > > My guess is that you did not not yet rebase the corresponding branches > > in refs/heads before fetching again? > > Right. I only use "stable/12", so in particular "main" never gets > rebased. Makes sense. > > In that case, the current code keeps fetching the objects again in order > > to get "new" objects for e.g. refs/heads/main. Here is a quick hack to > > prevent this. See the comment added by the patch for details. > > Double-plus-ungood. With that even more is fetched: Yes, sorry. My first patch was bad. Please try the second one.