Skip to content

Commit

Permalink
merge-recursive: match the unmerged index entry behaviour with merge-…
Browse files Browse the repository at this point in the history
…resolve

This minimally changes merge-recursive to match what happens
when O->A, O->B, A!=B 3-way filelevel merge leaves conflicts to
the new merge-resolve behaviour.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 30, 2005
1 parent 15bf57a commit 58cce8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions git-merge-recursive.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,6 @@ def processEntry(entry, branch1Name, branch2Name):
if cacheOnly:
updateFile(False, sha, mode, path)
else:
updateFileExt(aSha, aMode, path,
updateCache=True, updateWd=False)
updateFileExt(sha, mode, path, updateCache=False, updateWd=True)
else:
die("ERROR: Fatal merge failure, shouldn't happen.")
Expand Down

0 comments on commit 58cce8a

Please sign in to comment.