repo git: Fix wrong conflicted version being recovered since migration from rebase to merge
This commit is contained in:
parent
8c8a5a460e
commit
c85074b573
|
@ -585,8 +585,8 @@ namespace Sparkles.Git {
|
|||
// The local version has been modified, but the server version was removed
|
||||
} else if (line.StartsWith ("UD")) {
|
||||
|
||||
// Recover server version
|
||||
var git_theirs = new GitCommand (LocalPath, "checkout --theirs \"" + conflicting_file_path + "\"");
|
||||
// Recover our version
|
||||
var git_theirs = new GitCommand (LocalPath, "checkout --ours \"" + conflicting_file_path + "\"");
|
||||
git_theirs.StartAndWaitForExit ();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue