From: Jay Soffian Date: Wed, 12 Dec 2012 17:17:35 GMT Subject: Re: [PATCH] fetch: ignore wildcarded refspecs that update local symbolic refs Message-ID: In-Reply-To: <7vmwxk6x0a.fsf_-_@alter.siamese.dyndns.org> On Tue, Dec 11, 2012 at 5:32 PM, Junio C Hamano wrote: > In a repository cloned from somewhere else, you typically have a > [...] > * This time with minimal tests and an updated log message. Sorry I haven't been reading the list much lately, so I don't know the context which motivated this patch beyond the commit message. But, this message is quite clear. So: Acked-by: Jay Soffian > diff --git a/remote.c b/remote.c > index 04fd9ea..a72748c 100644 > --- a/remote.c > +++ b/remote.c > @@ -1370,6 +1370,16 @@ int branch_merge_matches(struct branch *branch, > return refname_match(branch->merge[i]->src, refname, ref_fetch_rules); > } > > +static int ignore_symref_update(const char *refname) s/ignore_symref_update/is_existing_symref/ ? j.