This is the mail archive of the
mailing list for the GCC project.
Re: git conversion in progress
On 11/01/2020 15:01, Richard Earnshaw wrote:
> On 11/01/2020 14:58, Jakub Jelinek wrote:
>> On Sat, Jan 11, 2020 at 02:51:21PM +0000, Richard Earnshaw wrote:
>>> Or for tags s/heads/tags/
>> Indeed, this works, but if one doesn't know what branches there are for
>> particular vendor or what vendors there are (or what users), I can't find
>> how to query that.
>> Can one query it even in git, or just has to know the right spelling of a
>> particular vendor and then do git-fetch-vendor.sh that_vendor to see it?
> git ls-remote | grep vendors
> will list all the vendor branches and tags
> Filter that as appropriate.
$ git ls-remote|grep vendors|sed -r "s|.*vendors/([^/]+).*|\1|"|sort|uniq
We could add this to git-fetch-vendor if invoked without an option.