Skip to content

Feature request: Merge tool support #5847

@Caleb-T-Owens

Description

@Caleb-T-Owens

It would be great if we could have an option to open a merge tool whenever entering edit mode if there are conflicts.

[difftool "codecompare"]
    cmd = \"C:\\Program Files\\Devart\\Code Compare\\CodeCompare.exe\" -W \"$LOCAL\" \"$REMOTE\"
    renames = true

[mergetool "codecompare"]
    cmd = \"C:\\Program Files\\Devart\\Code Compare\\CodeMerge.exe\" -MF \"$LOCAL\" -TF \"$REMOTE\" -BF \"$BASE\" -RF \"$MERGED\"
    trustExitCode = true

It would be interesting to consider whether we should simply shell out and make a call to git mergetool or whether it would be best to call the programmes ourselves.

I'd lean towards just shelling out to git mergetool so we don't have to handle the complexity (that undoubtedly exists) ourselves.

@Byron @schacon Do you have any thoughts/experience in this area?

Metadata

Metadata

Assignees

No one assigned

    Labels

    UX/UIFocusing on user satisfaction, usability, and overall experienceenhancementAn improvement to an existing featurerustPull requests that update Rust code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions