Imagine that we created two branches from master, branch1, and branch2.
How could we detect using git that branch1 and branch2 changed the same line?
We do not care about intermediate commits in the new branches. We just need to check the difference between branch1 and master and the differences between branch2 and master and check if they changed any common line.
Thanks in advance.
Ps: we cannot cherry-pick all the commits in the branches in order to detect possible conflicts, this approach would produce false positives.