[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070414115600.GA10995@informatik.uni-freiburg.de>
Date: Sat, 14 Apr 2007 13:56:00 +0200
From: Uwe Kleine-König
<ukleinek@...ormatik.uni-freiburg.de>
To: Rene Herman <rene.herman@...il.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>, git@...r.kernel.org
Subject: Re: GIT and the current -stable
Hello Rene,
Rene Herman wrote:
> each time that a new -stable is released. Rather though, I'd like a simple
> "git pull" to do this while on this branch while a "git pull" while back on
> the master branch pulls from the originally cloned Linus repo again.
>
> Is this possible? Do I want it to be? Comments like "work like this
> instead" welcome as well; figuring out what the heck it is that I want from
> git seems to be one of the most difficult questions to answer...
Chris' mail made that somehow superfluous but anyhow. I have a Python
script to update my Linux tree. It's attached.
It automatically adds
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.x.y as a
remote as soon as v2.6.x is seen in Linus' repo and then fetches 2.6.16,
2.6.(last - 1) and 2.6.last. If you want to fetch all, change
for stable in (16, last_stable - 1, last_stable):
in
for stable in xrange(16, last_stable + 1):
The location of the repo is hardcoded to $HOME/gsrc/linux-2.6, but I
think everyone with a bit of intuition should be able to change that ...
So it's not a "git pull" for me, but "update-linux".
Best regards
Uwe
--
Uwe Kleine-König
main(){char*a="main(){char*a=%c%s%c;printf(a,34,a,34%c";printf(a,34,a,34
,10);a=",10);a=%c%s%c;printf(a,34,a,34,10);}%c";printf(a,34,a,34,10);}
View attachment "update-linux" of type "text/plain" (1833 bytes)
Powered by blists - more mailing lists