Thomas Gummerer <t.gummerer@xxxxxxxxx> writes: > No automated test for this yet. As mentioned in the cover letter as > well, I'm not sure if this is common enough for us to actually > consider this use case. I don't know how nested conflicts could > actually be created apart from committing a file with conflict > markers, Recursive merge whose inner merge leaves conflict markers? One thing that makes me wonder is that the conflict markers may not "nest" so nicely. For example, if inner merges had two conflicts like these: <<< <<<<< A ===== B >>>>> === <<<<< A ===== C >>>>> >>> where one side made something to A or B, while the other side made something (or something else) to A or C, I would imagine that the outer conflict could be "optimized" to produce this instead: <<<<< A ===== <<< B === C >>> >>>>>