Yuya Nishihara
d1912bf016
templater: add commit.diff().<format>() methods
...
This patch adds TreeDiff template type to host formatting options. The main
reason of this API design is that diff formats have various incompatible
parameters, so a single .diff(files, format[, options..]) method would become
messy pretty quickly. Another reason is that we can probably add custom
summary templating support as diff.files().map(|file| file.path()..).
RepoPathUiConverter is passed to templater explicitly because the one stored
in RevsetParseContext is behind Option<_>.
2024-07-17 18:52:49 +09:00
..
2024-04-22 21:05:49 +08:00
2024-07-07 23:02:41 +02:00
2024-07-05 17:11:37 +08:00
2024-07-16 12:54:24 +02:00
2024-07-15 14:45:59 +09:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-17 18:52:49 +09:00
2024-07-16 12:54:24 +02:00
2024-07-04 11:30:20 +10:00
2024-07-03 20:26:30 -04:00
2024-05-17 13:55:20 -07:00
2024-07-04 11:30:20 +10:00
2024-07-16 12:54:24 +02:00
2024-07-15 14:45:59 +09:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-17 08:10:25 +02:00
2024-06-26 17:11:16 -07:00
2024-06-29 08:35:53 -05:00
2024-06-15 20:30:40 -07:00
2024-07-07 23:02:41 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-06-29 08:35:53 -05:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-05-17 13:55:20 -07:00
2024-07-15 14:45:59 +09:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-15 14:45:59 +09:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-17 08:10:25 +02:00
2024-07-17 08:10:25 +02:00
2024-07-17 08:10:25 +02:00
2024-07-16 12:54:24 +02:00
2024-02-06 18:19:41 -08:00
2024-02-06 18:19:41 -08:00
2024-05-17 13:55:20 -07:00
2024-07-04 11:30:20 +10:00
2024-07-16 12:54:24 +02:00
2024-07-17 08:10:25 +02:00
2024-07-17 08:10:25 +02:00
2024-05-09 08:51:34 +09:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-07-16 12:54:24 +02:00
2024-06-17 14:13:36 -04:00
2024-06-29 08:35:53 -05:00
2024-06-17 14:13:36 -04:00
2024-07-16 12:54:24 +02:00