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/subprocess.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/git/subprocess.rs b/src/git/subprocess.rs
index acee726..37fa382 100644
--- a/src/git/subprocess.rs
+++ b/src/git/subprocess.rs
@@ -33,13 +33,16 @@ impl GitSubprocess {
33 33
34 let mut cmd = Command::new("git"); 34 let mut cmd = Command::new("git");
35 35
36 // GRASP-01 requirement: MUST include `allow-reachable-sha1-in-want` and 36 // GRASP-01 requirement: MUST include `allow-reachable-sha1-in-want`,
37 // `allow-tip-sha1-in-want` in advertisement and serve available oids. 37 // `allow-tip-sha1-in-want`, and `uploadpack.allowFilter` in advertisement
38 // and serve available oids and filtered requests.
38 // These config options must be passed before the command name. 39 // These config options must be passed before the command name.
39 cmd.arg("-c"); 40 cmd.arg("-c");
40 cmd.arg("uploadpack.allowReachableSHA1InWant=true"); 41 cmd.arg("uploadpack.allowReachableSHA1InWant=true");
41 cmd.arg("-c"); 42 cmd.arg("-c");
42 cmd.arg("uploadpack.allowTipSHA1InWant=true"); 43 cmd.arg("uploadpack.allowTipSHA1InWant=true");
44 cmd.arg("-c");
45 cmd.arg("uploadpack.allowFilter=true");
43 46
44 cmd.arg(service.command_name()); 47 cmd.arg(service.command_name());
45 48