Skip to content

Git - fix bug causing multiple resource trust dialogs when worktrees are present#290707

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/wasteful-quelea
Jan 27, 2026
Merged

Git - fix bug causing multiple resource trust dialogs when worktrees are present#290707
lszomoru merged 1 commit intomainfrom
lszomoru/wasteful-quelea

Conversation

@lszomoru
Copy link
Member

Fixes #290706

Copilot AI review requested due to automatic review settings January 27, 2026 08:13
@lszomoru lszomoru enabled auto-merge (squash) January 27, 2026 08:13
@lszomoru lszomoru self-assigned this Jan 27, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 27, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where opening a repository with multiple worktrees would show a resource trust dialog for each worktree.

Changes:

  • Modified the trust check to use the common git directory path instead of the repository root path, ensuring all worktrees share the same trust validation

@lszomoru lszomoru added the git GIT issues label Jan 27, 2026
@lszomoru lszomoru merged commit 4ac2f00 into main Jan 27, 2026
27 of 28 checks passed
@lszomoru lszomoru deleted the lszomoru/wasteful-quelea branch January 27, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git - multiple resource trust dialogs when opening a repository with worktrees

2 participants