Adds open in remote to hover annotations

Optimizes annotation computation (cache by commit)
This commit is contained in:
Eric Amodio
2017-09-14 23:43:41 -04:00
parent f0bdf3e2c3
commit f6019454b6
10 changed files with 134 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ export class RecentChangesAnnotationProvider extends AnnotationProviderBase {
if (cfg.hover.details) {
decorators.push({
hoverMessage: Annotations.getHoverMessage(commit, dateFormat),
hoverMessage: Annotations.getHoverMessage(commit, dateFormat, this.git.hasRemotes(commit.repoPath)),
range: range
} as DecorationOptions);
}