Git - Source control is not able to detect renaming a file #236857
Open
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:
- Rename or move a file with
git mv
without modifying any file contents. - Commit
- 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:
Activity