From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751649AbXDNXOe (ORCPT ); Sat, 14 Apr 2007 19:14:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752841AbXDNXOe (ORCPT ); Sat, 14 Apr 2007 19:14:34 -0400 Received: from smtpq1.groni1.gr.home.nl ([213.51.130.200]:57871 "EHLO smtpq1.groni1.gr.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649AbXDNXOd (ORCPT ); Sat, 14 Apr 2007 19:14:33 -0400 Message-ID: <46216001.3000503@gmail.com> Date: Sun, 15 Apr 2007 01:13:05 +0200 From: Rene Herman User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Chris Wright CC: Linux Kernel , Greg KH , git@vger.kernel.org Subject: Re: GIT and the current -stable References: <46206842.80203@gmail.com> <20070414083410.GU6602@sequoia.sous-sol.org> <462096AA.3080003@gmail.com> In-Reply-To: <462096AA.3080003@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 04/14/2007 10:54 AM, Rene Herman wrote: > On 04/14/2007 10:34 AM, Chris Wright wrote: > >> I've already put a tree like this up on kernel.org. The master branch >> is Linus' tree, and there's branches for each of the stable releases >> called linux-2.6.[12-20].y (I didn't add 2.6.11.y). >> >> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=summary > > I see, thank you; that sounds like a good "master" repo to clone then. Okay, I just cloned this repo, like: git clone -n \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git \ stable How do I now checkout for example 2.6.20.6, or get a diff between 2.6.20.6 and the (at the moment of writing latest -stable) 2.6.20.7? rene@7ixe4:~/src/linux$ cd stable rene@7ixe4:~/src/linux/stable$ git branch -a * master origin/HEAD origin/linux-2.6 origin/linux-2.6.12.y origin/linux-2.6.13.y origin/linux-2.6.14.y origin/linux-2.6.15.y origin/linux-2.6.16.y origin/linux-2.6.17.y origin/linux-2.6.18.y origin/linux-2.6.19.y origin/linux-2.6.20.y origin/master and I can check them out like rene@7ixe4:~/src/linux/stable$ git checkout origin/linux-2.6.20.y or in this case, but only this case, like: rene@7ixe4:~/src/linux/stable$ git checkout v2.6.20.7 "v2.6.20.7" seems to be the only tag from the stable branches that's present in this tree? rene@7ixe4:[...]$ git tag -l | grep "v2\.6\.[[:digit:]]\{1,2\}\." v2.6.20.7 Rene.