* git and tags...
@ 2005-11-08 10:49 Franck
2005-11-08 11:01 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Franck @ 2005-11-08 10:49 UTC (permalink / raw)
To: linux-mips
Hi,
I'm trying to retrieve a linux kernel by tag using git. Let's say for
example I want my working tree to be a linux 2.6.12 copy from git
repository. How can I do that ?
I tried these commands but it seems that there's no tag in git repository
git clone rsync://ftp.linux-mips.org/git/linux.git linux.git
git pull http://www.linux-mips.org/pub/scm/linux.git tag linux_2_6_12
Thanks
--
Franck
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: git and tags...
2005-11-08 10:49 git and tags Franck
@ 2005-11-08 11:01 ` Ralf Baechle
2005-11-08 17:25 ` Franck
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2005-11-08 11:01 UTC (permalink / raw)
To: Franck; +Cc: linux-mips
On Tue, Nov 08, 2005 at 11:49:48AM +0100, Franck wrote:
> I'm trying to retrieve a linux kernel by tag using git. Let's say for
> example I want my working tree to be a linux 2.6.12 copy from git
> repository. How can I do that ?
>
> I tried these commands but it seems that there's no tag in git repository
>
> git clone rsync://ftp.linux-mips.org/git/linux.git linux.git
> git pull http://www.linux-mips.org/pub/scm/linux.git tag linux_2_6_12
ls .git/refs/tags to see the tag names.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git and tags...
2005-11-08 11:01 ` Ralf Baechle
@ 2005-11-08 17:25 ` Franck
2005-11-08 18:45 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Franck @ 2005-11-08 17:25 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
2005/11/8, Ralf Baechle <ralf@linux-mips.org>:
> On Tue, Nov 08, 2005 at 11:49:48AM +0100, Franck wrote:
>
> > I'm trying to retrieve a linux kernel by tag using git. Let's say for
> > example I want my working tree to be a linux 2.6.12 copy from git
> > repository. How can I do that ?
> >
> > I tried these commands but it seems that there's no tag in git repository
> >
> > git clone rsync://ftp.linux-mips.org/git/linux.git linux.git
> > git pull http://www.linux-mips.org/pub/scm/linux.git tag linux_2_6_12
>
> ls .git/refs/tags to see the tag names.
>
OK, so tags have been renamed into "linux-2.6.x". Why not using the
same mainline name convention (v2.6.x) ?
I have another question (which is the first one in my previous email),
how can I make my working tree a kernel version 2.6.9 for example ?
And the last question related to mips git repository, why does kernel
v2.2, v2.4, v2.6 are in the same repository ? Why not seperate
different major version of the kernel in a seperate repository ?
Thanks
--
Franck
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: git and tags...
2005-11-08 17:25 ` Franck
@ 2005-11-08 18:45 ` Ralf Baechle
2005-11-08 21:31 ` Daniel Jacobowitz
2005-11-09 9:15 ` Franck
0 siblings, 2 replies; 7+ messages in thread
From: Ralf Baechle @ 2005-11-08 18:45 UTC (permalink / raw)
To: Franck; +Cc: linux-mips
On Tue, Nov 08, 2005 at 06:25:06PM +0100, Franck wrote:
> OK, so tags have been renamed into "linux-2.6.x". Why not using the
> same mainline name convention (v2.6.x) ?
The same reason that some people like blue and others prefer green ;-)
> I have another question (which is the first one in my previous email),
> how can I make my working tree a kernel version 2.6.9 for example ?
git-read-tree $(cat .git/refs/tags/linux-2.6.9)
git-checkout-index -f -a -u -q
> And the last question related to mips git repository, why does kernel
> v2.2, v2.4, v2.6 are in the same repository ? Why not seperate
> different major version of the kernel in a seperate repository ?
The extra space consumption for all these historic versions in a
compressed git repository is extremly little.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git and tags...
2005-11-08 18:45 ` Ralf Baechle
@ 2005-11-08 21:31 ` Daniel Jacobowitz
2005-11-09 9:43 ` Franck
2005-11-09 9:15 ` Franck
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Jacobowitz @ 2005-11-08 21:31 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Franck, linux-mips
On Tue, Nov 08, 2005 at 06:45:21PM +0000, Ralf Baechle wrote:
> On Tue, Nov 08, 2005 at 06:25:06PM +0100, Franck wrote:
>
> > OK, so tags have been renamed into "linux-2.6.x". Why not using the
> > same mainline name convention (v2.6.x) ?
>
> The same reason that some people like blue and others prefer green ;-)
>
> > I have another question (which is the first one in my previous email),
> > how can I make my working tree a kernel version 2.6.9 for example ?
>
> git-read-tree $(cat .git/refs/tags/linux-2.6.9)
> git-checkout-index -f -a -u -q
IIUC, this is just "git checkout linux-2.6.9" nowadays.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git and tags...
2005-11-08 21:31 ` Daniel Jacobowitz
@ 2005-11-09 9:43 ` Franck
0 siblings, 0 replies; 7+ messages in thread
From: Franck @ 2005-11-09 9:43 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Ralf Baechle, linux-mips
2005/11/8, Daniel Jacobowitz <dan@debian.org>:
> On Tue, Nov 08, 2005 at 06:45:21PM +0000, Ralf Baechle wrote:
> > On Tue, Nov 08, 2005 at 06:25:06PM +0100, Franck wrote:
> >
> > > OK, so tags have been renamed into "linux-2.6.x". Why not using the
> > > same mainline name convention (v2.6.x) ?
> >
> > The same reason that some people like blue and others prefer green ;-)
> >
> > > I have another question (which is the first one in my previous email),
> > > how can I make my working tree a kernel version 2.6.9 for example ?
> >
> > git-read-tree $(cat .git/refs/tags/linux-2.6.9)
> > git-checkout-index -f -a -u -q
>
> IIUC, this is just "git checkout linux-2.6.9" nowadays.
>
"checkout" command seems to work with branch, not tag. Which version
of git are you using ?
Thanks
--
Franck
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: git and tags...
2005-11-08 18:45 ` Ralf Baechle
2005-11-08 21:31 ` Daniel Jacobowitz
@ 2005-11-09 9:15 ` Franck
1 sibling, 0 replies; 7+ messages in thread
From: Franck @ 2005-11-09 9:15 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
2005/11/8, Ralf Baechle <ralf@linux-mips.org>:
> On Tue, Nov 08, 2005 at 06:25:06PM +0100, Franck wrote:
>
> > OK, so tags have been renamed into "linux-2.6.x". Why not using the
> > same mainline name convention (v2.6.x) ?
>
> The same reason that some people like blue and others prefer green ;-)
>
yet, mips branch follows mainline coding style...Actually it's just
more convenient to remember only one tag name convention. Anyways....
> > I have another question (which is the first one in my previous email),
> > how can I make my working tree a kernel version 2.6.9 for example ?
>
> git-read-tree $(cat .git/refs/tags/linux-2.6.9)
> git-checkout-index -f -a -u -q
>
thanks for that
> > And the last question related to mips git repository, why does kernel
> > v2.2, v2.4, v2.6 are in the same repository ? Why not seperate
> > different major version of the kernel in a seperate repository ?
>
> The extra space consumption for all these historic versions in a
> compressed git repository is extremly little.
>
hmm...still I get:
# du linux-mips.git/.git
263M
# du linux-mainline.git/.git
104M
Thanks
--
Franck
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-09 9:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 10:49 git and tags Franck
2005-11-08 11:01 ` Ralf Baechle
2005-11-08 17:25 ` Franck
2005-11-08 18:45 ` Ralf Baechle
2005-11-08 21:31 ` Daniel Jacobowitz
2005-11-09 9:43 ` Franck
2005-11-09 9:15 ` Franck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox