diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2018-08-05 18:20:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-06 13:22:35 -0700 |
commit | c0f16f8e14432b9b6a1b21885080eab6388d887e (patch) | |
tree | d665d09bcfc5f26595c790b3eeeb1d6ba102c461 /ci | |
parent | rerere: only return whether a path has conflicts or not (diff) | |
download | tgif-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