Re: git and time
- From
- Edgar Toernig <froese@gmx.de>
- Date
- Sep 27, 2006, 18:00 UTC
- Message-ID
- <20060927200054.7a49b619.froese@gmx.de>
- In-Reply-To
- <Pine.LNX.4.64.0609270919220.3952@g5.osdl.org>
Linus Torvalds wrote:
Show 12 quoted lines
> > On Wed, 27 Sep 2006, Matthew L Foster wrote: > > > > 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.