Skip to content

Commit 1665ce9

Browse files
committed
Adds default workspace to Home
1 parent e9ab8ae commit 1665ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/home/homeWebview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ export class HomeWebviewProvider implements WebviewProvider<State, State, HomeWe
622622
private async getBranchesData(repo: Repository, force = false) {
623623
if (force || !this._repositoryBranches.has(repo.path)) {
624624
const worktrees = (await repo.git.getWorktrees()) ?? [];
625-
const worktreesByBranch = groupWorktreesByBranch(worktrees);
625+
const worktreesByBranch = groupWorktreesByBranch(worktrees, { includeDefault: true });
626626
const [branchesResult] = await Promise.allSettled([
627627
repo.git.getBranches({
628628
filter: b => !b.remote,

0 commit comments

Comments
 (0)