mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
fix: this time is the good one
This commit is contained in:
parent
6c30699acc
commit
d22446ee10
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ impl ControllerWorker<TextChange> for BufferWorker {
|
||||||
// x.0.start should always be after lastver!
|
// x.0.start should always be after lastver!
|
||||||
// this step_ver will be the version after we apply the operation
|
// this step_ver will be the version after we apply the operation
|
||||||
// we give it to the controller so that he knows where it's at.
|
// we give it to the controller so that he knows where it's at.
|
||||||
let step_ver = oplog.version_union(&[lv.start], &last_ver);
|
let step_ver = oplog.version_union(&[lv.end-1], &last_ver);
|
||||||
branch.merge(&oplog, &step_ver);
|
branch.merge(&oplog, &step_ver);
|
||||||
let new_local_v = branch.local_version();
|
let new_local_v = branch.local_version();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue