jj/lib
Martin von Zweigbergk 49b2f3b6ca commit_builder: keep MutableRepo reference
When you're done with the `CommitBuilder`, you're going to have to
call `write_to_repo()`, passing it a mutable `MutableRepo`
reference. It's a bit simpler to pass that reference when we create
the `CommitBuilder` instead, so that's what this patch does.

A drawback of passing in the mutable reference when we create the
builder is that we can't have multiple unfinished `CommitBuilder`
instance live at the same time. We don't have any such use cases yet,
and it's not hard to work around them, so I think this change is worth
it.
2022-12-26 23:30:52 -08:00
..
gen-protos lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
src commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
tests commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
testutils commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
build.rs lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
Cargo.toml cargo: bump pest_derive from 2.5.1 to 2.5.2 2022-12-26 15:20:38 +00:00