Re: [PATCH 5/5] log: add --commit-header option

2016-09-29 Thread Jeff King
On Thu, Sep 29, 2016 at 10:49:04AM -0700, Junio C Hamano wrote: > Jeff King writes: > > > This lets you stick a header right before a commit, but > > suppresses headers that are duplicates. This means you can > > do something like: > > > > git log --graph --author-date-order --commit-header='=

Re: [PATCH 5/5] log: add --commit-header option

2016-09-29 Thread Junio C Hamano
Jeff King writes: > This lets you stick a header right before a commit, but > suppresses headers that are duplicates. This means you can > do something like: > > git log --graph --author-date-order --commit-header='== %as ==' > > to get a marker in the graph whenever the day changes. That's in

[PATCH 5/5] log: add --commit-header option

2016-09-29 Thread Jeff King
This lets you stick a header right before a commit, but suppresses headers that are duplicates. This means you can do something like: git log --graph --author-date-order --commit-header='== %as ==' to get a marker in the graph whenever the day changes. This probably needs some refactoring arou