This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: onwards to git
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Roland McGrath <roland at redhat dot com>, Jim Meyering <jim at meyering dot net>, "Joseph S. Myers" <joseph at codesourcery dot com>, libc-ports at sourceware dot org
- Date: Fri, 1 May 2009 14:29:50 -0400
- Subject: Re: onwards to git
- References: <49F89C2D.5060702@redhat.com> <Pine.LNX.4.64.0904292008041.31467@digraph.polyomino.org.uk> <20090429203933.08694FC3BF@magilla.sf.frob.com> <87hc07dt5x.fsf@meyering.net> <20090430195521.B8C59FC3BF@magilla.sf.frob.com> <119aab440905010655o78fd98f2oc819a266f97e5c0d@mail.gmail.com> <m21vr8n4q6.fsf@igel.home>
On Fri, May 1, 2009 at 12:54 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> Q: How do I checkout the glibc-2_9-branch from git?
>>
>> A: Checkout the sources from the glibc-2_9 tag into a local branch
>> named glibc-2_9-branch
>> git checkout -b glibc-2_9-branch glibc-2_9
>
> You probably want to use origin/glibc-2_9-branch instead of the tag.
> With a recent version of git (since 1.6.1) you can use this:
>
> $ git checkout --track origin/glibc-2_9-branch
>
> This is equivalent to the following:
>
> $ git checkout --track -b glibc-2_9-branch origin/glibc-2_9-branch
There is no glibc-2_9-branch in the git repo, are we missing branches?
carlos@crasus:~/src/fsf/glibc/glibc$ git branch -a
* master
origin/HEAD
origin/cvs/TRUNK
origin/cvs/fedora-2_3-branch
origin/cvs/fedora-2_5-branch
origin/cvs/fedora-branch
origin/cvs/fsf
origin/cvs/glibc-2-1-branch
origin/cvs/glibc-2-2-branch
origin/cvs/glibc-2_0_x
origin/cvs/glibc-2_3-branch
origin/cvs/glibc-2_5-branch
origin/cvs/glibc-2_6-branch
origin/cvs/glibc-2_7-branch
origin/cvs/master
origin/cvs/master-UNNAMED-BRANCH
origin/cvs/sparc-2_0_x-branch
origin/cvs/thomas-posix1996
origin/master
Cheers,
Carlos.