jj/lib/src
Martin von Zweigbergk 9138de6ff2 git_store: prevent conflict data from being GC'd
Before this commit, running Git's GC in a Git repo backing a Jujube
repo would risk deleting the conflict data we store as blobs in the
Git repo. This commit fixes that by adding a Git note pointing to the
conflict blob.

I wasn't able to add a test case for this because libgit2 doesn't
support gc [1]. Just testing that the ref is there doesn't seem very
useful.

 [1] https://github.com/libgit2/libgit2/issues/3247
2020-12-25 00:52:09 -08:00
..
commit.rs evolution: add support for updating state incrementally 2020-12-23 18:37:55 -08:00
commit_builder.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
conflicts.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -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_store.rs git_store: prevent conflict data from being GC'd 2020-12-25 00:52:09 -08:00
index.rs cargo: update blake2 2020-12-24 01:15:38 -08:00
lib.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
local_store.rs cargo: update blake2 2020-12-24 01:15:38 -08:00
lock.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -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 working_copy: let WorkingCopy and TreeState have the working copy path 2020-12-18 23:56:32 -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 evolution: add support for updating state incrementally 2020-12-23 18:37:55 -08:00
store_wrapper.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
testutils.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
transaction.rs evolution: add support for updating state incrementally 2020-12-23 18:37:55 -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 trees: make entries() function be the recursive one, since it's more common 2020-12-20 00:26:06 -08:00
view.rs import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
working_copy.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00