Jacob Keller
660e113ce1
graph: add support for --line-prefix on all graph-aware output
...
Add an extension to git-diff and git-log (and any other graph-aware
displayable output) such that "--line-prefix=<string>" 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 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.
This is somewhat of a hack on top of the graph API, but I think it
should be acceptable here.
This will be used by a future extension of submodule display which
displays the submodule diff as the actual diff between the pre and post
commit in the submodule project.
Add some tests for both git-log and git-diff to ensure that the prefix
is honored correctly.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-08-31 18:07:09 -07:00
..
2016-06-27 06:11:57 -07:00
2016-08-10 12:38:02 -07:00
2016-08-10 11:55:31 -07:00
2016-06-28 08:36:45 -07:00
2016-08-10 12:33:18 -07:00
2016-06-08 12:04:37 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-08-31 18:07:09 -07:00
2016-05-09 15:44:14 -07:00
2016-07-28 11:25:54 -07:00
2016-07-13 11:24:14 -07:00
2016-03-24 10:16:52 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-05-09 15:44:14 -07:00
2016-06-28 08:20:52 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:20:52 -07:00
2016-07-11 10:44:12 -07:00
2016-07-28 11:25:54 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-07-13 11:24:14 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 11:48:25 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 13:06:34 -07:00
2016-07-18 15:15:59 -07:00
2016-06-08 12:04:55 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:36:45 -07:00
2016-07-06 13:06:34 -07:00
2016-06-08 12:04:55 -07:00
2016-06-28 08:36:45 -07:00
2016-07-11 10:31:08 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-05-26 13:17:14 -07:00
2016-06-06 11:14:43 -07:00
2016-04-21 11:58:51 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:20:52 -07:00
2016-07-28 11:25:54 -07:00
2016-04-28 09:58:14 -07:00
2016-03-21 13:30:36 -07:00
2016-08-10 12:33:18 -07:00
2016-06-08 12:04:37 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-07-13 11:24:14 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:36:45 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2016-06-28 08:20:52 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-05-27 10:40:46 -07:00
2016-07-28 11:25:54 -07:00
2016-07-28 11:25:54 -07:00
2016-06-28 08:36:45 -07:00
2016-05-31 10:17:20 -07:00
2016-07-06 13:06:36 -07:00
2016-06-28 08:36:45 -07:00
2016-07-28 10:34:42 -07:00
2016-07-28 11:25:54 -07:00
2016-08-08 14:48:43 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2016-07-14 15:50:17 -07:00
2016-06-08 12:04:55 -07:00
2016-06-28 08:36:45 -07:00
2016-08-08 14:48:44 -07:00
2016-06-28 08:36:45 -07:00
2016-06-08 12:04:37 -07:00
2016-06-08 12:04:37 -07:00
2016-05-18 14:40:14 -07:00
2016-05-10 11:15:04 -07:00
2016-06-17 11:39:05 -07:00
2016-06-08 12:04:37 -07:00
2016-05-17 14:38:39 -07:00
2016-07-22 13:47:33 -07:00
2016-07-06 13:06:34 -07:00
2016-08-08 14:48:37 -07:00
2016-06-28 08:36:45 -07:00
2016-05-02 11:31:44 -07:00