Skip to content

Make diffs prettier #30087

@alexdima

Description

@alexdima

The diff editor is technically correct (LCS et al), but not very pretty. It would be nice if there were some post-processing to make it nicer.

1. Adjacent diffs that could be merged

a.txt
b.txt

Actual:

screen shot 2017-07-04 at 13 03 40

Expected:

screen shot 2017-07-04 at 15 05 42


2. Give preference to empty lines as diff boundaries

a3.txt
b3.txt

Actual:

screen shot 2017-07-04 at 15 02 41

Expected:

screen shot 2017-07-04 at 16 03 34

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions