Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] view file history shows commits from before the file existed #736

Open
mattjwarren opened this issue Apr 12, 2023 · 1 comment
Open

Comments

@mattjwarren
Copy link

When I r-click file, and select 'Git: View File History' the File History (filename) tab opens up, and it does show the history of the file, but it also goes further back in time to before the file existed and shows entries from unrelated files.

Steps To Reproduce

  1. Have a file created partway through the history of a repository
  2. r-click file, and select 'Git: View File History'
  3. it does show the history of the file, but it also goes further back in time to before the file existed and shows entries from unrelated files.

In the attached /uploaded image, you can see commits past 'Add HL_UT to jenkins conf' by Ben Rant. This was the commit that originated the file HL_UT.xml

However, you can see older entries also, for unrelated files (though in the same dir)

image

Expected Behavior

I only expect to see the commit history relating to the file selected.

Environment

  • OS: windows / wsl2 / ubuntu 20.04 (vscode launched from inside ubuntu instance)

  • VSCode version:
    matt@x:~$ code --version
    1.77.1
    b7886d7461186a5eac768481578c1d7ca80e2d21
    x64

  • Git History version:
    Last updated
    3/8/2023, 15:50:07
    Identifier
    donjayamanne.githistory

@caneserr
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants