Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: simplify inspect
Slack Coder committed 3 years ago
commit a407c3a4f822889a5df73396d3c7a0257cfe164b
parent 08334f790ba788ad7716fe3e31ec6a1206efe3da
1 file changed +1 -1
modified radicle-cli/src/commands/inspect.rs
@@ -149,7 +149,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
    } else if options.history {
        let repo = storage.repository(id)?;
        let head = Doc::<Untrusted>::head(signer.public_key(), &repo)?;
-
        let history = repo.revwalk(head)?.collect::<Vec<_>>().into_iter();
+
        let history = repo.revwalk(head)?;

        for oid in history {
            let oid = oid?.into();