Re: [PATCH] object name: introduce ':::<oneline prefix>' notation
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 24, 2007, 02:14 UTC
- Message-ID
- <Pine.LNX.4.63.0702240311240.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070224015731.GA10198@coredump.intra.peff.net>
Hi,
On Fri, 23 Feb 2007, Jeff King wrote:
Show 12 quoted lines
> On Sat, Feb 24, 2007 at 02:49:31AM +0100, Johannes Schindelin wrote: > > > > door for :? to find the oldest such match (though I'm not sure if it > > > would be by topology or date). > > > > By topology makes no sense with more than one root. > > Agreed, but by date might not make sense if you have clock skew. I had > assumed your patch for "youngest" was by distance to ref, but I suppose > that doesn't make sense if you are looking over a set of possibly > unconnected refs. So I think trusting the clock may be the only sensible > thing.
Given that most commits _will_ have a unique oneline, I think it does not matter that much. After all, the principal use case I see for it is finding a commit, given a shortlog, or a mail subject, or even a sentence muttered over the phone.
Ciao, Dscho