Skip to content

Git - Source control is not able to detect renaming a file #236857

Open
@github-account1111

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.2
  • OS Version: Windows 11

This has already been requested in #128981 but was chalked up to git's limitations despite git clearly being able to detect the file changes and, as a result, reconcile the file history (i.e. Timeview) even after a rename.

Steps to Reproduce:

  1. Rename or move a file with git mv without modifying any file contents.
  2. Commit
  3. Click on any commit in the Timeview

Expected behavior:

No change to timeview or individual commit contents.

Actual behavior:

The timeline and commit names are shown, but the contents are empty:

Image

Image

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 buggitGIT issuestimeline-gitTimeline view issues with Git history

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions