chiark / gitweb /
Track the files conflict history
[stgit] / stgit / gitmergeonefile.py
index 200448bbc71c4202835b27aa9f5c17b9980557c4..587c8c46cd626e9eddcacb665d7406e7780bd4d6 100644 (file)
@@ -199,6 +199,7 @@ def merge(orig_hash, file1_hash, file2_hash,
                             __conflict(path)
                             return 1
                         # successful interactive merge
+                        os.system('git-update-index -- %s' % path)
                         __remove_files(orig_hash, file1_hash, file2_hash)
                         return 0
                     else: