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

Unsaved code lens appears on untracked files #211

Closed
DFelten opened this issue Nov 23, 2017 · 3 comments
Closed

Unsaved code lens appears on untracked files #211

DFelten opened this issue Nov 23, 2017 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@DFelten
Copy link

DFelten commented Nov 23, 2017

I'm not in any git project, yet the message "Cannot determine recent change or authors (unsaved changes)" appears. Is this intended to appear even if I am not in a git project?

This message is helpful when I am working on a git project, but for me it is useless in a normal document.

  • GitLens Version: 6.12
  • VSCode Version: 1.19.0-insider
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open a new file and save it for example as test.md
  2. Write something

image

@metcalfc
Copy link

I get the same notation on nearly every line in an untracked file in a git project.

@eamodio eamodio added question bug Something isn't working and removed question labels Nov 27, 2017
@eamodio eamodio added this to the Soon™ milestone Nov 27, 2017
@eamodio eamodio self-assigned this Nov 27, 2017
@eamodio
Copy link
Member

eamodio commented Nov 27, 2017

This is definitely NOT by design. I have never noticed this -- it took me a little bit to reproduce too. It will be fixed in the next GitLens release. Sorry for the inconvenience and thank you both for the report!

@eamodio eamodio changed the title Cannot determine recent change or authors (unsaved changes) Unsaved code lens appears on untracked files Nov 27, 2017
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants