merge-recursive: match the unmerged index entry behaviour with merge-resolve
authorJunio C Hamano <junkio@cox.net>
Wed, 30 Nov 2005 10:37:06 +0000 (02:37 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 30 Nov 2005 10:37:06 +0000 (02:37 -0800)
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>
git-merge-recursive.py

index 0129233..e599b11 100755 (executable)
@@ -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.")