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

2016-08-16 Thread Jacob Keller
On Tue, Aug 16, 2016 at 11:22 AM, Junio C Hamano wrote: > Jacob Keller writes: > >> To make this work, we have to fix a few bugs in the graph API that force >> graph_show_commit_msg to be used only when you have a valid graph. >> Additionally, we

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

2016-08-16 Thread Junio C Hamano
Jacob Keller writes: > To make this work, we have to fix a few bugs in the graph API that force > graph_show_commit_msg to be used only when you have a valid graph. > Additionally, we extend the default_diff_output_prefix handler to work > even when no graph is enabled.

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

2016-08-15 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