mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
view: drop redundant filtering of ancestors of public heads
I added `enforce_invariants()` in1f593a4193
and then forgot to use it in4db3d8d3a6
.
This commit is contained in:
parent
f755c3f740
commit
e6aa2402a6
1 changed files with 0 additions and 1 deletions
|
@ -203,7 +203,6 @@ pub fn merge_views(
|
|||
for added_head in right.public_head_ids.difference(&base.public_head_ids) {
|
||||
result.public_head_ids.insert(added_head.clone());
|
||||
}
|
||||
result.public_head_ids = heads_of_set(store, result.public_head_ids.into_iter());
|
||||
|
||||
for removed_head in base.head_ids.difference(&right.head_ids) {
|
||||
result.head_ids.remove(removed_head);
|
||||
|
|
Loading…
Reference in a new issue