[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get the latest git sources



On Thu, Apr 27, 2006 at 06:02:07PM +0200, ruben wrote:
> 
> At Thu, 27 Apr 2006 10:37:46 +1000, Paul Collins wrote:

> > Just do
> > 
> > $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> > 
> > Now you have a fresh up-to-date Linux tree in ./linux-2.6
> > 
> > To keep it up to date run "git pull" in the root of this new tree.
> 
> Once you have that, how do you get for example 2.6.16 out of it?  I
> assume you can get all previous 2.6 versions this way, right?

No. I would guess that's not possible. Actually I would rather see it
as a waste of resources, because if someone needs an older 2.6 version
he or she might easily get that by going to
http://www.kernel.org/pub/linux/kernel/v2.6/

The git tree, if I understand the HOWTO at 
http://linux.yyz.us/git-howto.html
correctly, looks more like a kernel-factory or working-place for those
writing the sources. I.e. the dev branch of the kernel. The fact users
can download these sources might be intended (for testing the files,
etc. ...) but in that environment, provided i got its purpose
correctly, it makes no sense at all to offer old sources ...

And, if I may digress, the fact I can pull only the latest sources
with git makes it easy to me to update my current local source
directory: I don't have to care for the correct sources version to
download or update, because there is only one ... :) If you prefer
things being simple like I do, an extremely convenient option ... :)

> And if you get for example 2.6.15, 2.6.16 and 2.6.17-rc1, will/can
> hardlinks be used between the repositories to save space?

To link, e.g., 2.6.15 to 2.6.16 looks more like a red alert to me than
a nice place to compile a kernel in .. :) ... ? Or what did I miss?

HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on



Reply to: