Sertion / vscode-gitblame

Visual Studio Code Extension - See Git Blame info in status bar.
https://marketplace.visualstudio.com/items/waderyan.gitblame
MIT License
72 stars 31 forks source link

Shows incorrect hash after checking out outside of VSCode #37

Closed basickarl closed 5 years ago

basickarl commented 6 years ago

I checked the hash with the extension. Did a checkout +1 (so I revert to the hash BEFORE the hash being displayed) in my terminal outside of VSCode (vscode updates with correct lines of code). This extension does not update the hash though, it displays the old hash.

Sertion commented 6 years ago

Hello Karl.

Thank you for the issue.

The GUI only updates when you move the cursor in a document, save a document, or when you swap between files in the editor. Did you do any of these things?

We are also using the vscode built in createFileSystemWatcher to detect changes on the file system. What version of vscode are you using and what operating system do you use?

Sertion commented 5 years ago

Hello again Karl. I have moved back to using the node fs.watch instead of the build in createFileSystemWatcher.

Please report back if this resolve the issue!

Sertion commented 5 years ago

If this issue ever reappears pleas feel free to create a new issue for it.

basickarl commented 5 years ago

Will do man thanks for the update!