Skip to content

Commit 4411b7f

Browse files
committed
Fixes #3911 avoid if first-install isn't reliable
1 parent 51c9d49 commit 4411b7f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1313

1414
### Fixed
1515

16+
- Fixes [#3911](https://github.com/gitkraken/vscode-gitlens/issues/#3911) - Avoid Home opening when first-install isn't reliable (e.g. GitPod)
1617
- Fixes [#3888](https://github.com/gitkraken/vscode-gitlens/issues/#3888) - Graph hover should disappear when right-clicking a row
1718

1819
## [16.1.1] - 2024-12-20

src/views/views.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ConfigurationChangeEvent, MessageItem } from 'vscode';
2-
import { Disposable, window } from 'vscode';
2+
import { Disposable, env, window } from 'vscode';
33
import type { GroupableTreeViewTypes, TreeViewTypes } from '../constants.views';
44
import type { Container } from '../container';
55
import type { GitContributor } from '../git/models/contributor';
@@ -115,7 +115,7 @@ export class Views implements Disposable {
115115
}
116116
}
117117

118-
if (showGitLensView) {
118+
if (showGitLensView && !env.remoteName && env.appHost === 'desktop') {
119119
const disposable = once(container.onReady)(() => {
120120
disposable?.dispose();
121121
setTimeout(() => {

0 commit comments

Comments
 (0)