Skip to content

Commit

Permalink
Adds default workspace to Home
Browse files Browse the repository at this point in the history
  • Loading branch information
d13 committed Nov 19, 2024
1 parent e9ab8ae commit 1665ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webviews/home/homeWebview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export class HomeWebviewProvider implements WebviewProvider<State, State, HomeWe
private async getBranchesData(repo: Repository, force = false) {
if (force || !this._repositoryBranches.has(repo.path)) {
const worktrees = (await repo.git.getWorktrees()) ?? [];
const worktreesByBranch = groupWorktreesByBranch(worktrees);
const worktreesByBranch = groupWorktreesByBranch(worktrees, { includeDefault: true });
const [branchesResult] = await Promise.allSettled([
repo.git.getBranches({
filter: b => !b.remote,
Expand Down

0 comments on commit 1665ce9

Please sign in to comment.