jj/lib
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
..
protos protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
src git_store: prevent conflict data from being GC'd 2020-12-25 00:52:09 -08:00
tests evolution: fix it so pruned commits can be divergent 2020-12-23 18:01:01 -08:00
build.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
Cargo.toml git_store: use exponential backoff when retrying note-writing 2020-12-24 23:22:07 -08:00