Skip to content

GitLens Inspect "File history" is missing entries after "git mv" #2828

@agobeaux

Description

@agobeaux

Description

I cannot share the repository or a screenshot of the repository, but steps are easily reproducible.
If a file a.txt was renamed to b.txt using git mv a.txt b.txt, the file history of GitLens inspect will not show the full history, only the history of b.txt.
However, when looking at the line history, the full history is there (a.txt + b.txt).

Steps to reproduce:

  • Checkout any repository
  • Do a git mv command on any file
  • Make a commit containing the renaming
  • Check the line and file history of the new file

GitLens Version

14.1.1

VS Code Version

Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:44:45.204Z (2 mos ago)
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0

Git Version

git version 2.40.1

Logs, Screenshots, Screen Captures, etc

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions