Skip to content

Conversation

@stefanhaller
Copy link
Collaborator

Adds a config option that disables the confirmation for switching to a worktree when trying to check out a branch that is checked out in that other worktree.

Fixes #4938.

@stefanhaller stefanhaller added the enhancement New feature or request label Oct 14, 2025
@codacy-production
Copy link

codacy-production bot commented Oct 14, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for d3fb22a1 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (d3fb22a) Report Missing Report Missing Report Missing
Head commit (80f860b) 58598 50989 87.01%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#4964) 28 28 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@stefanhaller stefanhaller force-pushed the skip-confirmation-for-switching-to-worktree-on-checkout branch from 9ab7054 to 80f860b Compare October 14, 2025 12:20
@stefanhaller stefanhaller merged commit 853b54b into master Oct 14, 2025
12 checks passed
@stefanhaller stefanhaller deleted the skip-confirmation-for-switching-to-worktree-on-checkout branch October 14, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add config option to disable confirmation when switching to a worktree branch

2 participants