Re: git and time
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 28, 2006, 04:03 UTC
- Message-ID
- <7vfyec63jx.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0609272232040.9349@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 16 quoted lines
> What I think you want and what you should talk about is that you're > interested into the "local appearance time" for a given commit and not > "local commit time". Using that terminology is probably much less > confusing in the GIT world. > > To do so you'll need a GIT command that doesn'T exist yet. Let's call > it git-local-arrival. It could be defined as follows: > > 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?