faster union merge of multiple branches into index
only write index once
This commit is contained in:
parent
5414bbce58
commit
3acdba3995
3 changed files with 21 additions and 26 deletions
|
@ -41,6 +41,6 @@ main = do
|
|||
g <- Git.configRead =<< Git.repoFromCwd
|
||||
_ <- Git.useIndex (tmpIndex g)
|
||||
setup g
|
||||
Git.UnionMerge.merge g [aref, bref]
|
||||
Git.UnionMerge.merge g aref bref
|
||||
Git.commit g "union merge" newref [aref, bref]
|
||||
cleanup g
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue