Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Show patch id when we run `rad patch list`
Vincenzo Palazzo committed 3 years ago
commit ff52ea7223235925d3044c976c18ecee0e4a56f6
parent f5a161e4fe97d768b9436aca02c5b10fc3b74bc6
2 files changed +2 -0
modified radicle-cli/examples/rad-patch.md
@@ -57,6 +57,7 @@ $ rad patch

define power requirements d4ef85f57a8 R0 3e674d1 (flux-capacitor-power) ahead 1, behind 0
└─ * opened by z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (you) [..]
+
└─ * patch id d4ef85f57a849bd845915d7a66a2192cd23811f6

- OTHERS PROPOSED -

modified radicle-cli/src/commands/patch/list.rs
@@ -112,6 +112,7 @@ fn print(
        common::pretty_sync_status(storage.raw(), *revision.oid, target_head)?,
    );
    term::info!("{}", author_info.join(" "));
+
    term::info!("{prefix}* patch id {}", term::format::highlight(patch_id));

    let mut timeline = Vec::new();
    for merge in revision.merges.iter() {