Re: git and time
- From
Nicolas Pitre <nico@cam.org>
- Date
- Sep 28, 2006, 14:34 UTC
- Message-ID
- <Pine.LNX.4.64.0609281029300.9349@xanadu.home>
- In-Reply-To
- <7vfyec63jx.fsf@assigned-by-dhcp.cox.net>
On Wed, 27 Sep 2006, Junio C Hamano wrote:
Show 17 quoted lines
> Nicolas Pitre <nico@cam.org> writes: > > > SYNOPSIS > > > > git-local-arrival <committish> > > > > DESCRIPTION > > > > The command displays the time when given commit appeared in the > > local repository. > > This should be certainly doable, but local-arrival may not be > interesting if the repository has more than one branches. Maybe > > git-local-arrival <committish> [<branch>] > > which defaults to the current branch?
Indeed. I didn't mention it initially because it is really easy to do once you have it working for the current branch. The technical challenge is about making it efficient to find out which reflog entry with a path to given commit is the oldest.
Nicolas