mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-16 00:10:35 +08:00
nix: update to rust-1.65
Update to rust-1.65[0]. All hail our new GATs overlord! [0]: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
@@ -251,7 +251,7 @@ fn discover(pack_dir: impl AsRef<Path>) -> Result<im::Vector<Arc<pack::Index>>,
|
||||
let pack_dir = pack_dir.as_ref();
|
||||
let pack_dir_disp = pack_dir.display();
|
||||
trace!("discovering packs at {}", pack_dir_disp);
|
||||
match fs::read_dir(&pack_dir) {
|
||||
match fs::read_dir(pack_dir) {
|
||||
Ok(iter) => {
|
||||
let mut paths = Vec::new();
|
||||
for entry in iter {
|
||||
|
||||
@@ -149,7 +149,7 @@ where
|
||||
)
|
||||
.env("GIT_PROTOCOL", format!("version={}", protocol_version))
|
||||
.env("GIT_NAMESPACE", namespace)
|
||||
.args(&[
|
||||
.args([
|
||||
"-c",
|
||||
"uploadpack.allowanysha1inwant=true",
|
||||
"-c",
|
||||
|
||||
@@ -74,7 +74,7 @@ where
|
||||
.arg(format!("uploadpack.hiderefs=!{}", r.as_bstr()));
|
||||
}
|
||||
|
||||
cmd.args(&[
|
||||
cmd.args([
|
||||
"upload-pack",
|
||||
"--strict",
|
||||
"--timeout=5",
|
||||
|
||||
Reference in New Issue
Block a user