summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2018-08-05 18:20:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-06 13:22:35 -0700
commitc0f16f8e14432b9b6a1b21885080eab6388d887e (patch)
treed665d09bcfc5f26595c790b3eeeb1d6ba102c461 /ci
parentrerere: only return whether a path has conflicts or not (diff)
downloadtgif-c0f16f8e14432b9b6a1b21885080eab6388d887e.tar.xz
rerere: factor out handle_conflict function
Factor out the handle_conflict function, which handles a single conflict in a path. This is in preparation for a subsequent commit, where this function will be re-used. Note that this does change the behaviour of 'git rerere' slightly. Where previously we'd consider all files where an unmatched conflict marker is found as invalid, we now only consider files invalid when the "ours" conflict marker ("<<<<<<< <text>") is unmatched, not when other conflict markers (e.g. "=======") is unmatched. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions