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
When solving a merge conflict is solved by choosing completely for the local version, the merge cannot be finished from the user interface.
Consider a situation where one file has conflicting commits in the local and the remote repository. In this case, clicking on "diff" on the filename in the "Conflicted" category allows to fix the merge conflict:
Then chose the local version:
After clicking on "Mark as resolved", the interface ends up in a stage where a remote change is detected, but it is not possible to finish the merge
To the contrary, if say the remote version was chosen, the file would appear in the "Staged" category.
I believe this is due to the fact that when choosing the local variant, the file does not show up as "modified" in git status, whereas it does when it is changed to resolve the conflict.
Reproduce
Clone a repository
Make conflicting changes in the local and the remote repository
Pull
Open the diff to solve the merge conflict
Choose the local version as solution
Click on "Mark as resolved"
The interface is now in a stuck situation. It can only be fixed by using the command line git
Description
When solving a merge conflict is solved by choosing completely for the local version, the merge cannot be finished from the user interface.
Consider a situation where one file has conflicting commits in the local and the remote repository. In this case, clicking on "diff" on the filename in the "Conflicted" category allows to fix the merge conflict:
Then chose the local version:
After clicking on "Mark as resolved", the interface ends up in a stage where a remote change is detected, but it is not possible to finish the merge
To the contrary, if say the remote version was chosen, the file would appear in the "Staged" category.
I believe this is due to the fact that when choosing the local variant, the file does not show up as "modified" in git status, whereas it does when it is changed to resolve the conflict.
Reproduce
git
Expected behavior
I would expect to be able to finalize the merge
Context
jupyterlab-git 0.41.0 pyhd8ed1ab_1 conda-forge
git version 2.34.1
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: