Commit 914c24b
fix: use selectionTarget.checkoutCwd for post-checkout status query
The git status call after checkout was still using branchCwd instead of
selectionTarget.checkoutCwd, causing incorrect branch detection when
switching from a secondary worktree to the default branch.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent 0f7c6fb commit 914c24b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments