In Git the standard merge algorithms let you compare the final state of the files in the two branches, which means I have to remember or guess what the changes leading up to that point in both branches were.
Setting merge conflictstyle=diff3 in .gitconfig helps, by showing the common ancestor. However, I still have to do the diffs in my head – i.e. scan the different sections to figure out what changed between the ancestor and branch A, and between the ancestor and branch B, and then finally apply both to the ancestor, or apply one branch's changes to the other.
Is there a tool that would do this for me? I want to be able to compare changes that happened in one branch with the changes that happened in the other. Ideally the tool would also show me the commit messages of the changes I'm merging so I wouldn't have to guess the intent.
git cherry
andgit patch-id
may help you find what you are looking for.