Skip to content

Diff chunk contains an unchanged line #121436

@bersbersbers

Description

@bersbersbers

Issue Type: Bug

First file:

if (cond) {
    cmd
}

Second file:

if (cond) {
    if (other_cond) {
        cmd
    }
}

The diff:
image

The diff chunk contains the same final line in both files - it could/should be shorter.

VS Code version: Code - Insiders 1.56.0-insider (25785b9, 2021-04-15T05:14:21.699Z)
OS version: Windows_NT x64 10.0.19043
Remote OS version: Linux x64 5.3.18-lp152.44-default

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdiff-editorDiff editor issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions