upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-09-25 15:46:11 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-09-25 15:46:11 +0100
commitc1be79dd9c69c9e406f3c067ba8ac4719b80d142 (patch)
tree649c2d895c2f2e2034a7d6eed90001217589c6b0 /src/bin
parentd6faad17e814d252a72e3aca39a4b3898382bab9 (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/bin')
-rw-r--r--src/bin/git_remote_nostr/list.rs2
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 }