The situation is the following:
I have a master branch, from which several dev branches are created. Those branches change functionnality in the code.
When the version is ready, i.e., all branches are available to merge, I do the merge. However, I want to be able to see before merging what files were modified at the same time by two branches in a conflicting way.
This would allow me to be better prepared to handle the merge beforehand, as it can be time-consuming to keep both functionnalities.
I agree with the fact that rebase should be done, but sometimes it is not possible (time frame), several developers working on the project at the same time.
So, is there a way to get those files (and the branches/commits they come from), so that the merge could be done as early as possible ?
My option for now is to get the output of git diff --name-status between master and each branch that I plan on merging (formatted Vxx/description), and get the doublons through a python script.
However, this does not give me potential conflicts that a merge would cause, only files modified by several branches.