upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/purgatory/sync/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/purgatory/sync/context.rs')
-rw-r--r--src/purgatory/sync/context.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/purgatory/sync/context.rs b/src/purgatory/sync/context.rs
index 3568e89..ece8cd6 100644
--- a/src/purgatory/sync/context.rs
+++ b/src/purgatory/sync/context.rs
@@ -474,7 +474,9 @@ impl SyncContext for RealSyncContext {
474 source_repo_path: &Path, 474 source_repo_path: &Path,
475 new_oids: &HashSet<String>, 475 new_oids: &HashSet<String>,
476 ) -> Result<ProcessResult> { 476 ) -> Result<ProcessResult> {
477 // Delegate to the unified function from git::sync 477 // Delegate to the unified function from git::sync.
478 // Pass None for write_policy and rejected_events_index: the purgatory sync path
479 // already handles hot-cache re-processing via SyncManager::process_event_static.
478 let result = crate::git::sync::process_newly_available_git_data( 480 let result = crate::git::sync::process_newly_available_git_data(
479 source_repo_path, 481 source_repo_path,
480 new_oids, 482 new_oids,
@@ -482,6 +484,8 @@ impl SyncContext for RealSyncContext {
482 self.local_relay.as_ref(), 484 self.local_relay.as_ref(),
483 &self.purgatory, 485 &self.purgatory,
484 &self.git_data_path, 486 &self.git_data_path,
487 None,
488 None,
485 ) 489 )
486 .await?; 490 .await?;
487 491