Simplify text diff and hierarchy reports
Use signed cell rows and keep whole-cell contents out of the text diff. Group reference changes, fold redundant terminal edges into the cell list, and inline one-off layer names. Count identical unmatched objects while retaining occurrence-based display limits.
This commit is contained in:
parent
9d5fe27516
commit
ed1e0595bc
1 changed files with 775 additions and 226 deletions
|
|
@ -33,8 +33,8 @@ single revision. A comparison captures reference counts and analyzes the union
|
|||
graph and ancestors when a hierarchy is requested.
|
||||
|
||||
`TextComparison::between` captures the data needed for text and hierarchy
|
||||
reports. Layered objects in added and removed cells contribute to the cell's
|
||||
object count.
|
||||
reports. Both comparison types provide `render_text_with_ascii_hierarchy`
|
||||
to render a combined report with redundant terminal edges omitted.
|
||||
|
||||
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