Re: git and time
From: Edgar Toernig <hidden>
Date: 2016-06-15 22:42:42
Linus Torvalds wrote:
On Wed, 27 Sep 2006, Matthew L Foster wrote:quoted
Perhaps git should record three(+) timestamps, adding when the change was committed into this repository?What you CAN do is to connect (in any particular private repository) a _branch_update_ with the time it was done. That is Shawn Pierces "reflog" work - you can track a particular branch _locally_. It's purely local to that _one_ repository, though. It by definition makes no sense anywhere else, and it's not tracking commits, it's literally tracking how branches changed in a local copy.
Well, I would simply look at the filesystem's mtime of the commit object resp. the pack containing the commit. IMHO good enough most of the time. Ciao, ET.