git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 29, 2006, 23:23 UTC
Message-ID
<Pine.LNX.4.63.0611300021490.30004@wbgn013.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
Message 1 of 1 in “xdl_merge(): set mode to 0 when refining conflicts”
  1. 1/4 xdl_merge(): set mode to 0 when refining conflictsJohannes Schindelin, Nov 29, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.