I have 2 trees like this
tree-1
-->branch-A
commit-ABC
commit-DEF
commit-XYZ
tree-2
-->branch-AA
commit-ABC
commit-DEF
commit-XYZ
Note: commit-ABC in branch-A and commit-ABC in branch-AA have same commit message and might have different code changes and hash value.
Tree here is my repo.
I need to filter out the commits between branch-A and branch-AA which have same code changes and not just based on hash of the commits. How can I do this?