On 4/12/21 1:41 PM, Tom Saeger wrote:> > Less ugly fix... > > diff --git a/builtin/fetch.c b/builtin/fetch.c > index 30856b442b79..5fbffbd17d7d 100644 > --- a/builtin/fetch.c > +++ b/builtin/fetch.c > @@ -576,6 +576,8 @@ static struct ref *get_ref_map(struct remote *remote, > if (has_merge && > !strcmp(branch->remote_name, remote->name)) > add_merge_config(&ref_map, remote_refs, branch, &tail); > + } else if (prefetch) { > + ; > } else { I'll give this a try, but with "else if (!prefetch)" for the last block,instead. Thanks for your diligent testing! It's helping a lot. Thanks, -Stolee