mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 02:04:19 +00:00
tests: remove an obsolete TODO about unreachable commits in index
I don't think there's much to gain from making the index match exactly what's reachable from the view. FWIW, our cloud-based implementation at Google will probably make everyone's commits visible in the index regardless of which operation they're at.
This commit is contained in:
parent
8c5c0f0e83
commit
121b86c89c
1 changed files with 0 additions and 4 deletions
|
@ -335,10 +335,6 @@ fn test_remove_head(use_git: bool) {
|
|||
// Test that MutableRepo::remove_head() removes the head, and that it's still
|
||||
// removed after commit. It should remain in the index, since we otherwise would
|
||||
// have to reindex everything.
|
||||
// TODO: Consider if it's better to have the index be exactly the commits
|
||||
// reachable from the view's heads. We would probably want to add tombstones
|
||||
// for commits no longer visible in that case so we don't have to reindex e.g.
|
||||
// when the user does `jj op undo`.
|
||||
let settings = testutils::user_settings();
|
||||
let test_repo = TestRepo::init(use_git);
|
||||
let repo = &test_repo.repo;
|
||||
|
|
Loading…
Reference in a new issue