Skip to content

Make diffs prettier #30087

Closed
Closed

Description

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

Activity

  1. added
    feature-request
    on Jul 4, 2017
  2. changed the title [-]Make the diff more pretty[/-] [+]Make diffs prettier[/+] on Jul 4, 2017
  3. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

diff-editorfeature-requeston-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions