Hi, Here is the new version of the merge algorithm patch. The major changes compared to the previous patch are: * No more messing around with merge-cache. git-ls-files used to get the unmerged entries instead. * The python code is now contained in two files, git-merge-script and gitMergeCommon.py. * The user interface is identical to the interface provided by git-resolve-script * In the non-clean case the unmerged cache entries will not be removed from the cache. I have also attached a test script which can redo every merge in a repository with both git-resolve-script and git-merge-script. It will report any non-clean merges and non-identical results for clean merges. Do _not_ use this script in repositories you care about. It calls 'git reset --hard' repeatedly and will probably not leave the repository in its original state when it's done. Of the 500 merge commits that currently exists in the kernel repository 19 produces non-clean merges with git-merge-script. The four merge cases listed in <20050827014009.GB18880@c165.ib.student.liu.se> are cleanly merged by git-merge-script. Every merge commit which is cleanly merged by git-resolve-script is also cleanly merged by git-merge-script, furthermore the results are identical. There are currently two merges in the kernel repository which are not cleanly merged by git-resolve-script but are cleanly merged by git-merge-script. I guess the need for this has decreased with Daniel's new read-tree code. Is there any chance of getting this code merged into mainline git? - Fredrik - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2005-09-08 02:48:49 EST