need to -s theirs or the merge is likely to fail
This commit is contained in:
parent
d289a222d5
commit
5d92ed6ea7
|
@ -125,7 +125,7 @@ setupupstreammaster newref propellordir = do
|
||||||
changeWorkingDirectory tmprepo
|
changeWorkingDirectory tmprepo
|
||||||
git ["fetch", distrepo, "--quiet"]
|
git ["fetch", distrepo, "--quiet"]
|
||||||
git ["reset", "--hard", oldref, "--quiet"]
|
git ["reset", "--hard", oldref, "--quiet"]
|
||||||
git ["merge", newref, "--quiet", "-m", "merging upstream version"]
|
git ["merge", newref, "-s", "theirs", "--quiet", "-m", "merging upstream version"]
|
||||||
|
|
||||||
fetchUpstreamBranch propellordir tmprepo
|
fetchUpstreamBranch propellordir tmprepo
|
||||||
cleantmprepo
|
cleantmprepo
|
||||||
|
|
Loading…
Reference in New Issue