From: Jonathan Nieder Date: Thu, 02 Aug 2018 02:26:03 GMT Subject: Re: [PATCH v2] remote: make refspec follow the same disambiguation rule as local refs Message-ID: <20180802022603.GE189024@aiede.svl.corp.google.com> In-Reply-To: Junio C Hamano wrote: > One thing I forgot to mention. > > When asking to fetch T, in order to be able to favor refs/tags/T > over refs/heads/T at the fetching end, you would have to be able to > *see* both, so all 6 variants "T", "refs/tags/T", "refs/heads/T", > "refs/remotes/T", "refs/remotes/T/HEAD" must be asked to be shown > when the ls-remote limiting is in effect. Since the ls-remote > filtering is relatively new development, we may further find subtle > remaining bugs, if there still are some. Fortunately, the fetch code does already do that. ;-) Jonathan