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-01-12 15:16:54 -08:00
2015-05-21 13:03:37 -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
2015-05-28 12:38:46 -07:00
2016-01-21 09:06:35 -08: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
2015-12-16 10:18:34 -08:00
2016-06-28 08:36:45 -07:00
2016-02-01 13:07:41 -08:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -07:00
2016-05-09 15:44:14 -07:00
2015-12-11 11:14:15 -08: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
2014-09-16 11:11:58 -07:00
2016-02-23 12:56:27 -08: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
2015-05-12 22:14:46 -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
2015-10-16 15:27:52 -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
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2016-06-28 08:36:45 -07:00
2015-10-16 15:27:52 -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
2015-03-10 15:19:05 -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-01-19 10:07:56 -08: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
2015-10-29 12:10:23 -07:00
2011-07-06 14:26:26 -07:00
2016-04-21 11:58:51 -07:00
2015-10-16 15:27:52 -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
2015-10-16 15:27:52 -07:00
2014-10-13 13:35:18 -07:00
2015-06-29 08:48:44 -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
2015-03-13 22:13:46 -07:00
2015-07-21 14:08:14 -07:00
2014-11-11 14:47:04 -08:00
2014-11-11 14:47:04 -08: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
2015-09-14 12:50:33 -07:00
2015-03-13 22:13:46 -07:00
2015-10-05 12:30:13 -07:00
2015-07-15 10:30:54 -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
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2015-05-12 22:14:46 -07:00
2014-10-13 13:35:18 -07:00
2015-08-31 11:29:04 -07:00
2015-09-21 10:48:23 -07:00
2015-10-16 15:27:52 -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
2015-07-28 13:21:59 -07:00
2015-10-16 15:27:52 -07:00
2016-06-28 08:36:45 -07:00
2015-07-21 14:08:35 -07:00
2015-10-22 10:16:12 -07:00
2016-05-31 10:17:20 -07:00
2016-07-06 13:06:36 -07:00
2015-05-17 11:24:57 -07:00
2015-06-22 14:20:47 -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-02-26 10:58:14 -08:00
2014-10-10 16:02:26 -07:00
2016-06-28 08:36:45 -07:00
2015-10-22 10:14:44 -07:00
2014-10-10 16:02:26 -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
2015-07-20 11:07:18 -07:00
2015-10-22 10:16:12 -07:00
2014-11-19 13:47:59 -08:00
2016-02-01 13:07:41 -08: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
2015-07-01 14:55:53 -07:00
2015-04-20 11:05:50 -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-02-22 10:42:52 -08:00
2016-07-22 13:47:33 -07:00
2016-06-27 09:56:42 -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
2015-10-22 10:16:12 -07:00
2016-02-01 13:07:41 -08:00
2016-03-03 13:43:36 -08:00