Skip to content

SCM - Commit Diff or Combined Diff does not show file renames or file moves #232947

Open
@ADTC

Description

When viewing the diff of a commit from the graph, or when viewing the full diff of changes or staged changes, "moved or renamed" files are not shown as such, but they are shown as separate delete and add operations.

Note: I know that a Git commit has no notion of "renames" but most diff tools (including git diff) use a similarity index to convert any "delete+add" pairs into "rename/move" if they have high similarity. Seems like VS Code diff is completely refusing to do this (even with 100% similarity).

Am I missing a config?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugscmGeneral SCM compound issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions