[Unpolished prototype] 3 way merge for Git#150388
[Unpolished prototype] 3 way merge for Git#150388Mingpan wants to merge 2 commits intomicrosoft:mainfrom
Conversation
…like with git extension in VS Code. The code is not polished. It opens up a 3 column editor for comparing branches. One can use the arrows to accept simple changes from left/right/both branches, or manually edit the output.
|
@Mingpan thank you very much for this PR, we appreciate your openness to collaborate and share ideas. As we have discussed we already started on the 3 way merge implementation, and we have an initial version that we just merged yesterday. It lacks tests and probably does not cover all the corner-cases for viewzones, so there is still a lot of work to be done. This work is captured in this PR #150391 Having said that, we have tried out your great PR and there are definitely things we can learn from. The best next step would be for @hediet to meet with @Mingpan so you can go into technical details. I will try to setup something for next week. Apart from that I really appreciate that you shared the User Feedback, we take this very seriously fyi @daviddossett I am very excited about this collaboration and am looking forward to bring the 3-way merge editor to all our users out there. |
|
Thank you again for the PR 👏 I know that you and @hediet have synced on this approach and it inspired our implementation. |
This PR is a prototype of 3 way merge with basic Git integration. The original issues are #37350 and #146091.
The purpose of this PR is only to share ideas & code. The code is not polished.
Summary
The prototype adds an inline icon to the “Merge changes'' group in the source control view provided by Git extension. When clicked, it opens up a 3 way merge editor.
Screencast
3wm.Git.prototype.mp4
Details about the prototype
Directions when prototyping
Key design choices
Alternative considered
Nothing fundamental. Most of the alternatives should be covered above.
Current limitations
User feedback
Next steps