Merge branch 'iop-vc-selective-merge' into iop-vc-preview

This commit is contained in:
Álvaro Tejero Cantero 2026-10-06 20:23:03 +02:00
commit 9e396c1feb
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -412,7 +412,7 @@
(let [excluded (or excluded #{})
include? (if (some? include?)
include?
(not (every? excluded change-keys)))]
(every? excluded change-keys))]
(if include?
(apply disj excluded change-keys)
(into excluded change-keys)))))))))

View File

@ -187,7 +187,8 @@
(t/testing "the other direction starts the selection over"
(ptk/emit! store (dwb/fetch-branch-diff (:id branch) :main->branch))
(t/is (= #{} (get-in @store [:workspace-branch-diff :excluded]))))
(rx/dispose! store)))
(rx/dispose! store))
(done'))
done))))
(t/deftest the-selection-travels-with-the-merge-and-update-calls