diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-25 15:46:11 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-25 15:46:11 +0100 |
| commit | c1be79dd9c69c9e406f3c067ba8ac4719b80d142 (patch) | |
| tree | 649c2d895c2f2e2034a7d6eed90001217589c6b0 /src | |
| parent | d6faad17e814d252a72e3aca39a4b3898382bab9 (diff) | |
fix(remote): in list use `pr/`for authored prs
currently the prefix is missed when listing refs after pushing a pr
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/git_remote_nostr/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( | |||
| 150 | if let Ok(mut branch_name) = cl.get_branch_name() { | 150 | if let Ok(mut branch_name) = cl.get_branch_name() { |
| 151 | branch_name = if let Some(public_key) = current_user { | 151 | branch_name = if let Some(public_key) = current_user { |
| 152 | if proposal.pubkey.eq(&public_key) { | 152 | if proposal.pubkey.eq(&public_key) { |
| 153 | cl.branch_name.to_string() | 153 | format!("pr/{}", cl.branch_name) |
| 154 | } else { | 154 | } else { |
| 155 | branch_name | 155 | branch_name |
| 156 | } | 156 | } |