ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk a8a9f7dedd init: add support for creating new repo backed by bare git repo in .jj/git/
It's annoying to have to have the Git repo and Jujube repo in separate
directories. This commit adds `jj init --git`, which creates a new
Jujube repo with an empty, bare git repo in `.jj/git/`. Hopefully the
`jj git` subcommands will eventually provide enough functionality for
working with the Git repo that the user won't have to use Git commands
directly. If they still do, they can run them from inside `.jj/git/`,
or create a new worktree based on that bare repo.

The implementation is quite straight-forward. One thing to note is
that I made `.jj/store` support relative paths to the Git repo. That's
mostly so the Jujube repo can be moved around freely.
2020-12-28 00:54:03 -08:00
..
test_bad_locking.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_commit_builder.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_commit_concurrent.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_diff_summary.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_evolution.rs evolution: fix it so pruned commits can be divergent 2020-12-23 18:01:01 -08:00
test_git.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_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 import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_transaction.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
test_view.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
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