jj/lib/src
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
..
commit.rs git: extract function for pushing commit to remote branch, and test it 2020-12-28 00:53:41 -08:00
commit_builder.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
conflicts.rs conflicts: add another helper for writing materialized conflict to store 2020-12-26 00:35:45 -08:00
dag_walk.rs tests: start using the maplit crate 2020-12-23 17:32:31 -08:00
evolution.rs evolution: add support for updating state incrementally 2020-12-23 18:37:55 -08:00
files.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
git.rs git: add a function for updating heads from git refs 2020-12-29 23:30:34 -08:00
git_store.rs git: return a new repo instance from the store instead of the store's instance 2020-12-28 23:38:20 -08:00
index.rs cargo: update blake2 2020-12-24 01:15:38 -08:00
lib.rs git: extract function for pushing commit to remote branch, and test it 2020-12-28 00:53:41 -08:00
local_store.rs git: return a new repo instance from the store instead of the store's instance 2020-12-28 23:38:20 -08:00
lock.rs lock: use exponential backoff 2020-12-25 15:08:49 -08:00
matchers.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
op_store.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
operation.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
protos.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
repo.rs init: add support for creating new repo backed by bare git repo in .jj/git/ 2020-12-28 00:54:03 -08:00
repo_path.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
rewrite.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
settings.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
simple_op_store.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
store.rs git: return a new repo instance from the store instead of the store's instance 2020-12-28 23:38:20 -08:00
store_wrapper.rs git: return a new repo instance from the store instead of the store's instance 2020-12-28 23:38:20 -08:00
testutils.rs init: add support for creating new repo backed by bare git repo in .jj/git/ 2020-12-28 00:54:03 -08:00
transaction.rs conflicts: add another helper for writing materialized conflict to store 2020-12-26 00:35:45 -08:00
tree.rs trees: make entries() function be the recursive one, since it's more common 2020-12-20 00:26:06 -08:00
tree_builder.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
trees.rs commands: add an interactive mode for jj restore 2020-12-26 01:16:19 -08:00
view.rs transaction: make sure set of heads has only heads 2020-12-29 20:44:17 -08:00
working_copy.rs commands: add an interactive mode for jj restore 2020-12-26 01:16:19 -08:00