I have the following situation:
Original test.xml file:
<li>
<span>BA</span>
</li>
File with committed local changes:
<li>
<span>BA</span>
</li>
<li>
<span>CE</span>
</li>
File with remote changes received through git pull
:
<li>
<span>BA</span>
</li>
<li>
<span>DF</span>
</li>
git pull
is identifying only the lines with the new <span>
s as changes, is there any option to use with git pull / git merge which can avoid this situation?
UPDATE: This is the file with the conflict as it is detected:
<li>
<span>BA</span>
</li>
<li>
<<<<<<< HEAD
<span>CE</span>
=======
<span>DF</span>
>>>>>>> master
</li>
While I was expecting something like:
<li>
<span>BA</span>
</li>
<li>
<<<<<<< HEAD
<li>
<span>CE</span>
</li>
=======
<li>
<span>DF</span>
</li>
>>>>>>> master
</li>
I´ve tried the --strategy-option=patience
argument on git pull
but it doesn´t any effect at all.
This is only a simple example. Actually this problem is happening with .resx
files which are edited through the default visual studio editor.