jj/lib
Yuya Nishihara 5218591a82 view: unify set/clear_git_head() functions to take Option<RefTarget>
If we migrate RefTarget to new Conflict-based type, it won't store
Conflict<CommitId>, but Conflict<Option<CommitId>>. As the Option will
be internalized, new RefTarget type will also represent an absent target.
The 'target: Option<RefTarget>' argument will be replaced with new RefTarget
type.

I've also renamed the function for consistency with the following changes.
It would be surprising if set_local_branch(name, target) could remove the
branch. I feel the name set_local_branch_target() is less confusing.
2023-07-15 05:57:49 +09:00
..
benches cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
gen-protos backend: split up store.proto in git and local versions 2023-06-22 13:49:46 +02:00
src view: unify set/clear_git_head() functions to take Option<RefTarget> 2023-07-15 05:57:49 +09:00
tests view: unify set/clear_git_head() functions to take Option<RefTarget> 2023-07-15 05:57:49 +09:00
testutils cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
build.rs lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
Cargo.toml cargo: bump the cargo-dependencies group with 1 update 2023-07-12 16:25:25 +00:00