# [PATCH 1/4] xdl_merge(): set mode to 0 when refining conflicts

1 messages from 2006-11-29 to 2006-11-29. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/43735

## Johannes Schindelin, 2006-11-29 23:23

Subject: [PATCH 1/4] xdl_merge(): set mode to 0 when refining conflicts
Message-ID: <Pine.LNX.4.63.0611300021490.30004@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0611300021490.30004%40wbgn013.biozentrum.uni-wuerzburg.de

```

mode == 0 means "conflict", and just because a conflict has been
split does not mean that the latter half is no conflict.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

---
 xdiff/xmerge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xdiff/xmerge.c b/xdiff/xmerge.c
index 04f2795..7b85aa5 100644
--- a/xdiff/xmerge.c
+++ b/xdiff/xmerge.c
@@ -228,6 +228,7 @@ static int xdl_refine_conflicts(xdfenv_t
 			m2->next = m->next;
 			m->next = m2;
 			m = m2;
+			m->mode = 0;
 			m->i1 = xscr->i1 + i1;
 			m->chg1 = xscr->chg1;
 			m->i2 = xscr->i2 + i2;
-- 
1.4.4.g5aac-dirty

```
