So my ideal workflow would be:
magit-diff the branches
----------------------
| foo.rb |
| bar.txt |
| ..... |
----------------------
When I now go onto foo.rb and trigger the function I am looking for, it will spawn a ediff below:
----------------------
| foo.rb |
| bar.txt |
| ..... |
----------------------
| foo.1 | foo.2 |
| | |
| + Hello | |
| World | World |
----------------------
Doing the same again on the diff list will change the ediff file, i.a. when I go back to the list and call the function on bar.txt it will replace the ediff with the ediff for the bar.txt
Is there any way to do this with vc / magit or another plugin? I have no idea yet how to script emacs :/
(also asked on stackoverflow here: http://stackoverflow.com/questions/33601547/how-to-diff-two-branches-in-emacs-with-ediff-preview )