From c1be79dd9c69c9e406f3c067ba8ac4719b80d142 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 25 Sep 2024 15:46:11 +0100 Subject: fix(remote): in list use `pr/`for authored prs currently the prefix is missed when listing refs after pushing a pr --- src/bin/git_remote_nostr/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs index 2f2977e..92faa6b 100644 --- a/src/bin/git_remote_nostr/list.rs +++ b/src/bin/git_remote_nostr/list.rs @@ -150,7 +150,7 @@ async fn get_open_proposals_state( if let Ok(mut branch_name) = cl.get_branch_name() { branch_name = if let Some(public_key) = current_user { if proposal.pubkey.eq(&public_key) { - cl.branch_name.to_string() + format!("pr/{}", cl.branch_name) } else { branch_name } -- cgit v1.2.3