jj/lib/tests
Martin von Zweigbergk 8377000fd9 git: add a function for updating heads from git refs
When using Git as a store, new commits created in the underlying Git
repo are only made visible by making changes on top of them (e.g by
checking them out, so a working copy commit is created on top). That's
especially confusing when creating a new repo backed by an existing
Git repo, because the commits from that repo don't show up.

This commit prepares for fixing that by adding a function for updating
heads based on git refs. Since we don't yet track git refs (or
anything similar), the function just makes sure the refs are visible
in the Jujube repo by making them (anonymous) heads.
2020-12-29 23:30:34 -08:00
..
test_bad_locking.rs
test_commit_builder.rs
test_commit_concurrent.rs
test_diff_summary.rs
test_evolution.rs evolution: fix it so pruned commits can be divergent 2020-12-23 18:01:01 -08:00
test_git.rs git: add a function for updating heads from git refs 2020-12-29 23:30:34 -08:00
test_index.rs index: make Index::load() return Arc<IndexFile> instead of Index 2020-12-18 16:12:45 -08:00
test_init.rs init: add support for creating new repo backed by bare git repo in .jj/git/ 2020-12-28 00:54:03 -08:00
test_merge_trees.rs trees: make entries() function be the recursive one, since it's more common 2020-12-20 00:26:06 -08:00
test_operations.rs
test_transaction.rs transaction: make sure set of heads has only heads 2020-12-29 20:44:17 -08:00
test_view.rs
test_working_copy.rs working_copy: fix test to show that already tracked files are not ignored 2020-12-22 10:03:42 -08:00
test_working_copy_concurrent.rs working_copy: let WorkingCopy and TreeState have the working copy path 2020-12-18 23:56:32 -08:00