You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The work_dir for worktrees of submodules is resolved to .git/modules/.... instead of the git-worktree directory.
For the example the discovered work_dir is .git/modules/temp-submod. I think the issue stems from somewhere in open_from_paths.
Thanks a lot for reporting and for helping to reproduce the issue - fixing it that way was a breeze!
Unfortunately the fix will have to wait until the 22nd of January for when the next major release is scheduled. A patch release is already impossible due to breaking changes in at least one plumbing crate, unfortunately.
Current behavior 😯
The
work_dir
for worktrees of submodules is resolved to.git/modules/....
instead of the git-worktree directory.For the example the discovered
work_dir
is.git/modules/temp-submod
. I think the issue stems from somewhere inopen_from_paths
.Reported via starship/starship#6417
Expected behavior 🤔
Discovered
work_dir
istemp-wt
directoryGit behavior
Matches expected behavior
Steps to reproduce 🕹
The text was updated successfully, but these errors were encountered: