Skip to content

Can't load any GitLens features or UI #477

@cameroncooke

Description

@cameroncooke

So I've just installed GitLens but can't get any of the features or UI to activate. I've tried restarting VSCode and this has had no effect.

My workspace is in a sub-directory of the repo root. My workspace is at MyProject/FeatureTests/ and the repo root as at MyProject/. It appears GitLens can't find the repo because it doesn't search upwards only downwards. Code's own Git features work and can see the repo just fine.

  • GitLens Version: v8.5.4
  • VSCode Version: 1.26.0
  • OS Version: macOS High Sierra 10.13.6

Steps to Reproduce:

  1. Open workspace
  2. Attempt to activate any GitLens features.
  3. View verbose logs, see errors.

Logs

Git found: 2.15.1 @ /usr/local/Cellar/git in 55 ms
Starting repository search in 1 folders
Searching for repositories (depth=0) in '/Users/joe_bloggs/Source/MyProject/FeatureTests' ...
Running(/Users/joe_bloggs/Source/MyProject/FeatureTests): git rev-parse --show-toplevel
GitLens(v8.5.4) activated in 103 ms
FAILED(/Users/joe_bloggs/Source/MyProject/FeatureTests): git rev-parse --show-toplevel FAILED in 19 ms
Searching for repositories (depth=0) in '/Users/joe_bloggs/Source/MyProject/FeatureTests' took 19 ms
Running(/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode): git rev-parse --show-toplevel
Awaiting(/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode): git rev-parse --show-toplevel
FAILED(/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode): git rev-parse --show-toplevel FAILED in 7 ms
FAILED(/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode): git rev-parse --show-toplevel FAILED in 1 ms
isTracked('/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode/settings.json', 'undefined')
Running(): git ls-files /Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode/settings.json
FAILED(): git ls-files /Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode/settings.json FAILED in 5 ms
isTracked('/Users/joe_bloggs/Source/MyProject/FeatureTests/.vscode/settings.json', 'undefined') = false

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions