Skip to content

Commit 4221fc3

Browse files
committed
Adds code lens to git revisions
1 parent b1e4415 commit 4221fc3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1111
- Adds blame annotations, navigation & comparison commands, etc
1212
- Adds support for files with staged changes
1313
- Adds new entry in the `Repository View` of the `GitLens` view
14+
- Adds Git code lens to Git file revisions (GitLens or vscode's)
1415

1516
## [6.3.0-beta] - 2017-11-27
1617
### Added

src/gitCodeLensProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
5353
return this._onDidChangeCodeLenses.event;
5454
}
5555

56-
static selector: DocumentSelector = { scheme: DocumentSchemes.File };
56+
static selector: DocumentSelector = [{ scheme: DocumentSchemes.File }, { scheme: DocumentSchemes.Git }, { scheme: DocumentSchemes.GitLensGit }];
5757

5858
private _debug: boolean;
5959

0 commit comments

Comments
 (0)