From: demerphq Date: Thu, 19 Mar 2009 21:48:51 GMT Subject: Re: Gnome chose Git Message-ID: <9b18b3110903191448x4cd62306idae9ce70630a389d@mail.gmail.com> In-Reply-To: <20090319214317.GU23521@spearce.org> 2009/3/19 Shawn O. Pearce : > demerphq wrote: >> Outside of parsing the reflog directly, (which feels wrong and dirty >> to me), how does one find out the times that a reflog entry was >> created? >> >> The closest thing i could find was git log -g, but that shows the time > >  git reflog -g branch@{now} > > the @{now} suffix is the magic to make it show the time. Ah cool. Its not documented but that at least would have sorted my immediate needs. But for a logging tool it would be nice to get something like: 2009-03-19 21:46 > de9b652... HEAD@{0}: commit: pod/perlreftut.pod: keep example in tune with the times 2009-03-19 21:44 > 53102b2... HEAD@{1}: HEAD^: updating HEAD 2009-03-19 21:40 > a9a8f59... HEAD@{2}: commit: must stay contemporary instead of: $ git reflog -g HEAD@{now} de9b652... HEAD@{57 minutes ago}: commit: pod/perlreftut.pod: keep example in tune with the times 53102b2... HEAD@{61 minutes ago}: HEAD^: updating HEAD a9a8f59... HEAD@{61 minutes ago}: commit: must stay contemporary But thanks a lot for the info. I take this is documented in a newer release than i currently have? Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"