upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr/push.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-12-09 15:35:18 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-12-09 15:35:18 +0000
commitd8f4f7641312bff32f772cbc070b3f99ced0c8fe (patch)
tree0ca4db7b41d7c191eb91ceb1c8124b5e659a3566 /src/bin/git_remote_nostr/push.rs
parentf0d0e1ba1cba11d3a98a5ab0c7f1dc72b6bc4e17 (diff)
fix: fetch user relays for `send`,`push` & `init`
get the latest user relay list before pushing patches and repo announcement events
Diffstat (limited to 'src/bin/git_remote_nostr/push.rs')
-rw-r--r--src/bin/git_remote_nostr/push.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs
index 40e9584..6116fe2 100644
--- a/src/bin/git_remote_nostr/push.rs
+++ b/src/bin/git_remote_nostr/push.rs
@@ -127,7 +127,7 @@ pub async fn run_push(
127 } 127 }
128 128
129 let (signer, user_ref, _) = 129 let (signer, user_ref, _) =
130 login::login_or_signup(&Some(git_repo), &None, &None, Some(client)).await?; 130 login::login_or_signup(&Some(git_repo), &None, &None, Some(client), true).await?;
131 131
132 if !repo_ref.maintainers.contains(&user_ref.public_key) { 132 if !repo_ref.maintainers.contains(&user_ref.public_key) {
133 for refspec in &git_server_refspecs { 133 for refspec in &git_server_refspecs {