mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-12 14:40:37 +08:00
cob: Rename default history type
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
This commit is contained in:
@@ -201,7 +201,7 @@ fn load_contents(
|
||||
manifest: &store::Manifest,
|
||||
) -> Result<entry::Contents, error::Load> {
|
||||
Ok(match manifest.history_type {
|
||||
HistoryType::Default | HistoryType::Automerge => {
|
||||
HistoryType::Radicle | HistoryType::Automerge => {
|
||||
let contents_tree_entry = tree
|
||||
.get_name(CHANGE_BLOB_NAME)
|
||||
.ok_or_else(|| error::Load::NoChange(tree.id().into()))?;
|
||||
|
||||
@@ -22,7 +22,7 @@ pub use entry::{Contents, Entry, EntryId};
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum HistoryType {
|
||||
#[default]
|
||||
Default,
|
||||
Radicle,
|
||||
Automerge,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user