mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 00:56:23 +00:00
d1912bf016
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<_>. |
||
---|---|---|
.. | ||
examples | ||
src | ||
testing | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE |