Search code examples
laravelvisual-studio-codegit-loggit-historygitlens

Can`t see the file history in Gitlens (on a specific project)


I have a problem with Gitlens extension. Firstly, Gitlens or Git History extension is working fine on any other project except the this Laravel project. My problem is, can`t see the file history or line history in this project.

On the other hand, there is no problem in the git log (Git History Extension) as seen in screenshot;

enter image description here

But I can't compare any files with their any version (every commit seems like in the ss). I have no idea what the problem is about.

enter image description here

Lastly, I don't think the problem is about extension settings because other projects do not have this problem. Is there a any chance to fix this issue without resetting git history?


Solution

  • I am answering after 3 months, maybe it works for someone. As I mentioned in the title, surely there is no problem about extension settings for this specific project. The problem is just about git files. Maybe, I damaged some git files while moving the project on my desktop :)

    So, there is no chance to fix this issue without resetting git history or starting fresh with git, if you`re having the same problem.

    Do not play with git files, it`s no joke!