From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Phillips Subject: Re: name-rev does not show the shortest path Date: Fri, 24 Aug 2007 12:55:19 +0100 (BST) Message-ID: References: <20070823103817.GF6573@informatik.uni-freiburg.de> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811584-858509900-1187956519=:8987" Cc: git@vger.kernel.org To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= X-From: git-owner@vger.kernel.org Fri Aug 24 13:55:50 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOXlV-0006uw-Ij for gcvg-git@gmane.org; Fri, 24 Aug 2007 13:55:49 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755828AbXHXLzW (ORCPT ); Fri, 24 Aug 2007 07:55:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752584AbXHXLzW (ORCPT ); Fri, 24 Aug 2007 07:55:22 -0400 Received: from electron.quantumfyre.co.uk ([87.106.55.16]:38201 "EHLO electron.quantumfyre.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755464AbXHXLzV (ORCPT ); Fri, 24 Aug 2007 07:55:21 -0400 Received: from neutron.quantumfyre.co.uk (neutron.datavampyre.co.uk [212.159.54.235]) by electron.quantumfyre.co.uk (Postfix) with ESMTP id 00394C6921 for ; Fri, 24 Aug 2007 12:55:19 +0100 (BST) Received: (qmail 28637 invoked by uid 103); 24 Aug 2007 12:55:19 +0100 Received: from 192.168.0.2 by neutron.quantumfyre.co.uk (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.91/4047. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(192.168.0.2):. Processed in 0.030622 secs); 24 Aug 2007 11:55:19 -0000 Received: from reaper.quantumfyre.co.uk (192.168.0.2) by neutron.datavampyre.co.uk with SMTP; 24 Aug 2007 12:55:19 +0100 X-X-Sender: jp3@reaper.quantumfyre.co.uk In-Reply-To: <20070823103817.GF6573@informatik.uni-freiburg.de> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811584-858509900-1187956519=:8987 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 23 Aug 2007, Uwe Kleine-K=F6nig wrote: > Hello, > > I want to check to which kernel version I need to upgrade to get a > certain feature. For my case it was introduced in 0567a0c022d5b. > > =09zeisberg@cassiopeia:~/gsrc/linux-2.6$ rev=3D0567a0c022d5b343370a343121= f38fd89925de55 > > =09zeisberg@cassiopeia:~/gsrc/linux-2.6$ git name-rev --tags $rev > =090567a0c022d5b343370a343121f38fd89925de55 tags/v2.6.22~1686^2~1^3~5 > > =09zeisberg@cassiopeia:~/gsrc/linux-2.6$ git name-rev --refs=3D*-rc1 $rev > =090567a0c022d5b343370a343121f38fd89925de55 tags/v2.6.22-rc1~1009^2~1^3~5 > > I don't now the underlaying algorithm, maybe it's to get a short string? > > Anyhow I want to know the earliest tag that includes this patch? Is > there something I missed? > > I remember there was a similar discussion regarding describe. git describe --contains 0567a0c022d5b probably a 1.5.3 feature? (certainly doesn't exist in 1.5.2.2) --=20 Julian --- Man who sleep in beer keg wake up sticky. ---1463811584-858509900-1187956519=:8987--