Re: git and time
From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:42:42
On Wed, 27 Sep 2006, Junio C Hamano wrote:
Nicolas Pitre [off-list ref] writes:quoted
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