From: Uwe Kleine-König Date: Tue, 09 Jan 2007 17:35:01 GMT Subject: Re: I just pulled and built 'next'... Message-ID: <20070109173501.GA3732@cepheus> In-Reply-To: <20070109032124.GA1904@spearce.org> Hello, Shawn O. Pearce wrote: > $ git rev-list v1.5.0-rc0..next | wc -l > 687 > $ git rev-list v1.4.4.4..next | wc -l > 1051 > > 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? One scenario where this will fail is when a bugfix is commited on top of v1.4.4.4 and then is merged into v1.5.0-rc0+gabcdef. Just my 0.02$. Uwe -- Uwe Kleine-König exit vi, lesson III: : x ! NB: may write current file