upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/purgatory
diff options
context:
space:
mode:
Diffstat (limited to 'src/purgatory')
-rw-r--r--src/purgatory/sync/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/purgatory/sync/context.rs b/src/purgatory/sync/context.rs
index 3c2c683..f41dc25 100644
--- a/src/purgatory/sync/context.rs
+++ b/src/purgatory/sync/context.rs
@@ -361,8 +361,8 @@ impl SyncContext for RealSyncContext {
361 let naughty_list = self.git_naughty_list.clone(); 361 let naughty_list = self.git_naughty_list.clone();
362 362
363 tokio::task::spawn_blocking(move || -> Result<Vec<String>> { 363 tokio::task::spawn_blocking(move || -> Result<Vec<String>> {
364 // git fetch <remote> <sha1> <sha2> ... - fetch all OIDs in one command 364 // git fetch <remote> <sha1> <sha2> ... - fetch all OIDs with full history
365 let mut args = vec!["fetch", "--depth=1", &url]; 365 let mut args = vec!["fetch", &url];
366 args.extend(missing_oids.iter().map(|s| s.as_str())); 366 args.extend(missing_oids.iter().map(|s| s.as_str()));
367 367
368 let output = Command::new("git") 368 let output = Command::new("git")