Re: git and time
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 30, 2006, 17:36 UTC
- Message-ID
- <Pine.LNX.4.64.0609301033460.3952@g5.osdl.org>
- In-Reply-To
- <7v4pupizix.fsf@assigned-by-dhcp.cox.net>
On Sat, 30 Sep 2006, Junio C Hamano wrote:
Show 8 quoted lines
> Shawn Pearce <spearce@spearce.org> writes: > > > Agreed. I've been missing such a command and have wanted to add > > one but it wasn't important enough to me to actually code it. :) > > Everything you said in your message sounds sane and makes sense > to me. Now we have to find a sucker^Wvolunteer to implement it > ;-).
Ehh. As far as I can see it's - a damn hard thing to do efficiently - essentially exactly the same problem you already solved with "git describe"
In other words, I think you could make git describe do it, by simply making it parse not just all tags, but also walking the branch log.
Linus