upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr/fetch.rs')
-rw-r--r--src/bin/git_remote_nostr/fetch.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/git_remote_nostr/fetch.rs b/src/bin/git_remote_nostr/fetch.rs
index f3d4362..221d964 100644
--- a/src/bin/git_remote_nostr/fetch.rs
+++ b/src/bin/git_remote_nostr/fetch.rs
@@ -19,15 +19,15 @@ use ngit::{
19 git_events::{KIND_PULL_REQUEST, KIND_PULL_REQUEST_UPDATE, tag_value}, 19 git_events::{KIND_PULL_REQUEST, KIND_PULL_REQUEST_UPDATE, tag_value},
20 login::get_curent_user, 20 login::get_curent_user,
21 repo_ref::{RepoRef, is_grasp_server}, 21 repo_ref::{RepoRef, is_grasp_server},
22 utils::{
23 Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch,
24 get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and,
25 set_protocol_preference,
26 },
22}; 27};
23use nostr::nips::nip19; 28use nostr::nips::nip19;
24use nostr_sdk::{Event, ToBech32}; 29use nostr_sdk::{Event, ToBech32};
25 30
26use crate::utils::{
27 Direction, find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch,
28 get_open_or_draft_proposals, get_read_protocols_to_try, join_with_and, set_protocol_preference,
29};
30
31pub async fn run_fetch( 31pub async fn run_fetch(
32 git_repo: &Repo, 32 git_repo: &Repo,
33 repo_ref: &RepoRef, 33 repo_ref: &RepoRef,