Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-20 Thread Nguyen Thai Ngoc Duy
On Thu, Sep 20, 2012 at 6:42 AM, Jeff King wrote: > If you are particular about the exact format, how about using > --format="%h%d %s" instead? > > Obviously Duy could do the same to achieve his format, but I think there > is still value in considering what the default for --oneline should be. Ye

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Junio C Hamano
Jeff King writes: > On Wed, Sep 19, 2012 at 04:34:19PM -0700, Junio C Hamano wrote: > >> > Yeah, I do not think it is likely. Among the in-tree scripts, >> > git-stash does use rev-list --oneline but the purpose of the call >> > exactly is to grab a human readable one line summary, and it will b

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Jeff King
On Wed, Sep 19, 2012 at 04:34:19PM -0700, Junio C Hamano wrote: > > Yeah, I do not think it is likely. Among the in-tree scripts, > > git-stash does use rev-list --oneline but the purpose of the call > > exactly is to grab a human readable one line summary, and it will be > > happy with any chang

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Junio C Hamano
Junio C Hamano writes: > Jeff King writes: > >> We should also consider briefly whether anybody is relying on --oneline >> for machine parsing. I think "log --oneline" is fair game, but I wonder >> if people calling "rev-list --decorate --oneline" should be considered. >> It seems kind of unlike

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Jeff King
On Wed, Sep 19, 2012 at 12:57:28PM -0700, Junio C Hamano wrote: > Jeff King writes: > > > We should also consider briefly whether anybody is relying on --oneline > > for machine parsing. I think "log --oneline" is fair game, but I wonder > > if people calling "rev-list --decorate --oneline" shou

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Junio C Hamano
Jeff King writes: > We should also consider briefly whether anybody is relying on --oneline > for machine parsing. I think "log --oneline" is fair game, but I wonder > if people calling "rev-list --decorate --oneline" should be considered. > It seems kind of unlikely to me, considering that the d

Re: [PATCH] log --oneline: put decoration at the end of the line

2012-09-19 Thread Jeff King
On Wed, Sep 19, 2012 at 06:52:20PM +0700, Nguyen Thai Ngoc Duy wrote: > I find it easier to read "git log --oneline" when the subject lines > align, which they don't when the log is decorated because the > decoration stands before the subject line. I like it. I turned on log.decorate some time ag