upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/git_remote_helper.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/git_remote_helper.rs b/src/git_remote_helper.rs
index 0cfd268..d4aee42 100644
--- a/src/git_remote_helper.rs
+++ b/src/git_remote_helper.rs
@@ -440,7 +440,11 @@ fn fetch(
440) -> Result<()> { 440) -> Result<()> {
441 let fetch_batch = get_oids_from_fetch_batch(stdin, oid, refstr)?; 441 let fetch_batch = get_oids_from_fetch_batch(stdin, oid, refstr)?;
442 442
443 let oids_from_git_servers = fetch_batch.values().cloned().collect::<Vec<String>>(); 443 let oids_from_git_servers = fetch_batch
444 .iter()
445 .filter(|(refstr, _)| !refstr.contains("refs/heads/prs/"))
446 .map(|(_, oid)| oid.clone())
447 .collect::<Vec<String>>();
444 448
445 let mut errors = HashMap::new(); 449 let mut errors = HashMap::new();
446 let term = console::Term::stderr(); 450 let term = console::Term::stderr();