Sertion / vscode-gitblame

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

Unable to get correct results after modifying a document. #20

Closed gucong3000 closed 7 years ago

gucong3000 commented 7 years ago

For example, when I insert some newline characters before the last line of code, the status bar will be empty. blame

gucong3000 commented 7 years ago

Upstream issues: https://github.com/alessioalex/git-blame/issues/6 https://github.com/alessioalex/git-spawned-stream/issues/3

Sertion commented 7 years ago

Hey gucong. Thank you for the issue.

Right now we only blame the file when the user saves the file. This is partially because for larger repositories take a long time to be blamed and that it easier to keep track of what version of the file we are in progress of blaming.

gucong3000 commented 7 years ago

The blame is still incorrect after the file is saved.

Sertion commented 7 years ago

This is solved in 1.11.3.

Thank you for reporting the issue!