So there is master that goes
m1->m2
and a branch that goes
m1->m2
\
->b1->b2
I did a merge of master into branch making it
m1->m2 mb(merge commit)
\ /
->b1->b2
Say i have had a conflict in one file that i fixed in branch while merging master. i fixed it and it now looks nothing like how the file looks in master ( at commit m3). if i merge the branch ( now at commit mb) back into master, git does not complain that there is a conflict. is the file not different? how does it know its not a conflict and it needs to use the file coming from the branch ?
I get that its the right behavior but i am just curious what tells git that the one in branch is the 'right' one.