-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Blame information isn't updated after git operations (commit, reset, etc) #25
Comments
@Glober777 Thanks for the report. Sadly code doesn't currently provide a way for me to detect that a file has been committed (at least not that I could find). I am investigating adding a timeout to my cache, so even though it will stick for a while it will resolve eventually. If you find this behavior bothersome you could also disable the GitLens cache by setting |
Hey @eamodio! I'm not familiar with the VSCode API, and what hooks are available there, but I was wondering if you could rely on "git diff" output (executed periodically or based on an event that VSCode may be raising every time commits happen). The simplest case would be if the output of git diff is blank, than consider everything as committed. Parsing its output, would help to figure out whether some new code is still staged or not. |
Opened microsoft/vscode#20845 |
Show file comments hover. gitkraken#25 gitkraken#18
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi!
I've noticed that the 'Not Committed Yet' message keeps showing even after the change was committed.
GitLens Extension: 2.0.0
VSCode: 1.9.0
Thanks!
The text was updated successfully, but these errors were encountered: