Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cob: Rename default history type
Alexis Sellier committed 3 years ago
commit 86e6fa22a1ee0f1e298fdbbee7b73cb5f2f95ea1
parent a79c95283b5d3794e57c90f88b8c6a014853a378
2 files changed +2 -2
modified radicle-cob/src/backend/git/change.rs
@@ -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()))?;
modified radicle-cob/src/history.rs
@@ -22,7 +22,7 @@ pub use entry::{Contents, Entry, EntryId};
#[serde(rename_all = "lowercase")]
pub enum HistoryType {
    #[default]
-
    Default,
+
    Radicle,
    Automerge,
}