forked from mirrors/jj
view: delete an incorrect comment about a race
Unlike in `Transaction::commit()`, in the `view` module, we actually don't update the `.jj/view/op_heads/` directory until after we've recorded the index associated with the operation, so there's no race there.
This commit is contained in:
parent
a715fd0ae7
commit
fc73ef8d6e
1 changed files with 0 additions and 1 deletions
|
@ -365,7 +365,6 @@ fn merge_op_heads(
|
|||
metadata: operation_metadata,
|
||||
};
|
||||
let merge_operation_id = op_store.write_operation(&merge_operation).unwrap();
|
||||
// TODO: Like in Transaction::commit(), there's a race here.
|
||||
index_store
|
||||
.associate_file_with_operation(merged_index.as_ref(), &merge_operation_id)
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue