Installing Meld as a regular Linux package, it is fairly straighforward to setup Meld as git merge tool, here is an extract of my .gitconfig.
[merge]
tool = meld
[mergetool "meld"]
trustExitCode = true
cmd = meld --args --auto-merge \"$PWD/$LOCAL\" \"$PWD/$BASE\" \"$PWD/$REMOTE\" --output=\"$PWD/$MERGED\"
But what about the flatpak version of Meld which you cannot execute simply with the command meld
?
I guess the cmd part should be something like
cmd = flatpak run org.gnome.meld --args --auto-merge \"$PWD/$LOCAL\" \"$PWD/$BASE\" \"$PWD/$REMOTE\" --output=\"$PWD/$MERGED\"
but this exact command doesn't work. How should it be modified?