From: Theodore Tso Date: Tue, 09 Jan 2007 13:54:01 GMT Subject: Re: I just pulled and built 'next'... Message-ID: <20070109135401.GB17352@thunk.org> In-Reply-To: <20070109032124.GA1904@spearce.org> On Mon, Jan 08, 2007 at 10:21:24PM -0500, Shawn O. Pearce wrote: > So what about doing Junio's suggestion of going by topology and > coming up with the possible set of tags (v1.5.0-rc0 and v1.4.4.4 > right now), and if more than one is found compute the number of > commits between each tag and the requested revision, and take the > tag that has a smallest number of commits? Ah, thanks for showing the example using git-rev-list. I was assuming "topology" based on the distance as shown by gitk, and that's quite different from what git-rev-list shows. Agreed, that hueristic makes a lot of sense. - Ted