Re: [PATCH v7 2/7] graph: add support for --line-prefix on all graph-aware output

2016-08-18 Thread Stefan Beller
On Wed, Aug 17, 2016 at 5:51 PM, Jacob Keller wrote: > From: Jacob Keller > > Add an extension to git-diff and git-log (and any other graph-aware > displayable output) such that "--line-prefix=" will print the > additional line-prefix on every line of output. > > To make this work, we have to fix

Re: [PATCH v7 2/7] graph: add support for --line-prefix on all graph-aware output

2016-08-18 Thread Jacob Keller
On Thu, Aug 18, 2016 at 10:56 AM, Stefan Beller wrote: > On Wed, Aug 17, 2016 at 5:51 PM, Jacob Keller > wrote: >> - if (!graph) >> + if (!graph) { >> + graph_show_line_prefix(default_diffopt); >> return; >> + } > >> - if (graph_is_commit_finished(graph)) >> + if (g

Re: [PATCH v7 2/7] graph: add support for --line-prefix on all graph-aware output

2016-08-18 Thread Jacob Keller
From: Jacob Keller On Thu, Aug 18, 2016 at 10:56 AM, Stefan Beller wrote: > On Wed, Aug 17, 2016 at 5:51 PM, Jacob Keller > wrote: >> From: Jacob Keller >> - /* >> -* Add a newline after the commit message. >> -

[PATCH v7 2/7] graph: add support for --line-prefix on all graph-aware output

2016-08-17 Thread Jacob Keller
From: Jacob Keller Add an extension to git-diff and git-log (and any other graph-aware displayable output) such that "--line-prefix=" will print the additional line-prefix on every line of output. To make this work, we have to fix a few bugs in the graph API that force graph_show_commit_msg to b