Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Fix `inspect` command for non-delegates
cloudhead committed 2 years ago
commit 6bc7d297a5e7e3feecec3f61327a9adbdf532f61
parent 59c101fc592101c81120d0be68ba26521cb51243
1 file changed +1 -2
modified radicle-cli/src/commands/inspect.rs
@@ -144,7 +144,6 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {

    let profile = ctx.profile()?;
    let storage = &profile.storage;
-
    let signer = term::signer(&profile)?;
    let repo = storage
        .repository(rid)
        .context("No project with the given RID exists")?;
@@ -210,7 +209,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
        }
        Target::History => {
            let identity = Identity::load(&repo)?;
-
            let head = repo.identity_head_of(signer.public_key())?;
+
            let head = repo.identity_head()?;
            let history = repo.revwalk(head)?;

            for oid in history {