On Tue, May 11, 2010 at 9:40 AM, Jason Merrill <ja...@redhat.com> wrote:
> On 05/11/2010 11:21 AM, H.J. Lu wrote:
>>
>> On Tue, May 11, 2010 at 7:49 AM, Jason Merrill<ja...@redhat.com>  wrote:
>
>>> git config --add remote.origin.fetch
>>> refs/remotes/vect256:refs/remotes/origin/vect256
>>> git config --add svn-remote.svn.fetch
>>> branches/vect256:refs/remotes/origin/vect256
>>
>> I was hoping
>>
>> git://gcc.gnu.org/git/gcc.git
>>
>> mirror branches/vect256 instead of ix86 so that
>> I can just pull from it.
>
> It does.  You just need to tell your local git to pull it, using the above
> commands.  If you do
>
> git ls-remote git://gcc.gnu.org/git/gcc.git
>
> you will see refs/remotes/vect256 in the list.

It isn't very clear that refs/heads was changed to refs/remotes.

http://repo.or.cz/w/official-gcc.git

still fetches refs/heads, not refs/remotes. I can't browse branches
under refs/remotes.


H.J.
----
>> From:
>>
>> http://gcc.gnu.org/wiki/GitMirror
>>
>> remotes/origin/ix86 is still listed.
>
> Thanks, I'll fix that.
>
>> I did a clone of
>>
>> git://gcc.gnu.org/git/gcc.git
>>
>> and I got x86 branch.
>
> A new clone shouldn't get it, as it isn't in refs/heads anymore.  But it
> won't disappear from your local repository until you do 'git remote prune
> origin'.
>
> Jason

Reply via email to