Re: [PATCH 1/3] pretty: Pass graph width to pretty formatting for use in '%>|(N)'

2015-12-22 Thread Junio C Hamano
Duy Nguyen writes: > (I'm joining the newer thread [1] back to this one, thanks for > reminding me about this) > > [1] http://thread.gmane.org/gmane.comp.version-control.git/282771 > > On Tue, Sep 22, 2015 at 2:40 AM, Junio C Hamano wrote: >> Josef Kufner

Re: [PATCH 1/3] pretty: Pass graph width to pretty formatting for use in '%>|(N)'

2015-12-22 Thread Duy Nguyen
(I'm joining the newer thread [1] back to this one, thanks for reminding me about this) [1] http://thread.gmane.org/gmane.comp.version-control.git/282771 On Tue, Sep 22, 2015 at 2:40 AM, Junio C Hamano wrote: > Josef Kufner writes: > >> Pass graph width to

Re: [PATCH 1/3] pretty: Pass graph width to pretty formatting for use in '%>|(N)'

2015-09-21 Thread Junio C Hamano
Josef Kufner writes: > Pass graph width to pretty formatting, so N in '%>|(N)' includes columns > consumed by graph rendered when --graph option is in use. > > Example: > git log --all --graph --pretty='format: [%>|(20)%h] %ar%d' > > All commit hashes should be aligned at

[PATCH 1/3] pretty: Pass graph width to pretty formatting for use in '%>|(N)'

2015-09-11 Thread Josef Kufner
Pass graph width to pretty formatting, so N in '%>|(N)' includes columns consumed by graph rendered when --graph option is in use. Example: git log --all --graph --pretty='format: [%>|(20)%h] %ar%d' All commit hashes should be aligned at 20th column from edge of the terminal, not from the