Add an opt-in detailed text diff
This commit is contained in:
parent
ab308f7b7f
commit
f3275fc161
1 changed files with 266 additions and 45 deletions
|
|
@ -34,7 +34,9 @@ graph and ancestors when a hierarchy is requested.
|
|||
|
||||
`TextComparison::between` captures the data needed for text and hierarchy
|
||||
reports. Both comparison types provide `render_text_with_ascii_hierarchy`
|
||||
to render a combined report with redundant terminal edges omitted.
|
||||
to render a combined report with redundant terminal edges omitted. Pass
|
||||
`TextReportOptions { details: true, ..Default::default() }` to
|
||||
`render_text_with_options` to show individual object evidence.
|
||||
|
||||
Use `RevisionPair::parse(&old_bytes, &new_bytes)` for an unscoped comparison
|
||||
that can reuse matching cells. Its `compare` and `compare_text` methods return
|
||||
|
|
|
|||
Loading…
Reference in a new issue