-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the bug
Suppose I have the develop
branch and make a worktree for my feature/xyz
branch. Then, I jump into the feature/xyz
worktree and do some work. After some time I want to make a back merge from the develop
branch into the feature/xyz
, because I clearly see in lazygit UI that develop (3)
has 3 new commits. Currently I'm on the feature/xyz
branch and I move the cursor (i.e. the highlighted "line") to develop
and press f
(fast-forward). The changes "fast-forwarded" fine but for some reason all the files from those 3 commits also appeared in the "Files" tab as edited and unstaged files.
Expected behavior
When I'm using Git Worktree and do fast-forward on not currently checkouted branch, the fast-forwarded changes should not be added to "Files" tab.
Version info:
commit=5e388e21c8ca6aa883dbcbe45c47f6fdd5116815, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=darwin, arch=amd64, git version=2.42.0