]> git.ipfire.org Git - thirdparty/git.git/commit
merge-ort: handle book-keeping around two- and three-way content merge
authorElijah Newren <newren@gmail.com>
Fri, 1 Jan 2021 02:34:42 +0000 (02:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2021 18:40:45 +0000 (10:40 -0800)
commit991bbdcab94d93c2a325c4ce74cff139f0f49d97
treeac589c0b18e48c4b8453f5cb37fad9c668100949
parent5a1a1e8ea9fdd4a575c711b91f176838ea502e44
merge-ort: handle book-keeping around two- and three-way content merge

In addition to the content merge (which will go in a subsequent commit),
we need to worry about conflict messages, placing results in higher
order stages in case of a df_conflict, and making sure the results are
placed in ci->merged.result so that they will show up in the working
tree.  Take care of all that external book-keeping, moving the
simplistic just-take-HEAD code into the barebones handle_content_merge()
function for now.  Subsequent commits will flesh out
handle_content_merge().

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-ort.c