Re: [PATCH] --walk-reflogs: disallow uninteresting commits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 19 Jan 2007, Junio C Hamano wrote:

> Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:
> 
> > 	> I think people may also appreciate timestamps on Reflog headers 
> > 	> you add to the output.
> >
> > 	At the moment, if you ask for @{1} (or leave it out), you will see 
> > 	them enumerated by number. If you ask for @{now}, you will see 
> > 	them identified by date...
> 
> Thanks.  This certainly needs a better documentation -- the attached is
> my try.

;-)

I sort of waited for comments on this behaviour. Maybe it would be better 
to always show the number, _and_ a relative time? I.e.

	Reflog @{2}: master@{17.5 minutes ago} (message)

> By the way, I haven't looked into it, but does this ring a bell?
> 
>     $ git-log --walk-reflogs -1 --pretty=s master@{1.day}
>     commit 72fe6a59890870ed9c3e9e1e6381fc0d7ba75fe4
>     Reflog: master@{Thu, 1 Jan 1970 00:00:00 +0000} ((null))
>     Reflog message: (null)Author: Junio C Hamano <junkio@xxxxxxx>
> 
>         Documentation: Generate command lists.

Not yet. Will look into it.

Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]