[Feature Request] Add option to "lock" the right side in diff mode, only allowing merge operations from right-to-left
Would it be possible to add a feature to Meld in diff mode where the "right" side could be "locked", so operations are only permitted from right to left?
I’m using Meld to compare my current git branch (left) with another branch (right) and selectively pull in changes to my active branch.
It is easy to forget that the right side should be left unchanged, and I accidentally perform operations from left to right.
It would be better if a parameter could be added, such as "--lock-right" which gives a view similar to the git conflict view where changes from left to right are prevented with a padlock symbol.
This would make it visually very clear that operations can only be performed from right to left, and avoid any possible changes to the right.
For reference, I am checking out my active branch (left) then doing git difftool against the reference branch (right) which is the one I want to be read-only in Meld:
git difftool -d referencebranch
This is my .gitconfig:
[diff]
tool = meld
[difftool]
prompt = false
[difftool “meld”]
cmd = meld “$REMOTE” “$LOCAL” --auto-compare
Thank you for your consideration!