╭ changed ───────╮ │src/test/net.zig│ ╰────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 859 var process = try std.process.spawn(io, .{ │ │ 860 .argv = if (is_ssh) │ │1043 - &.{ "git", "-c", ssh_config_arg, "clone", "--upload-pack", upload_pack_command, "--depth", "1", remote_url, "client" }│ │ 861 + &.{ "git", "-c", ssh_config_arg, "clone", "--depth", "1", remote_url, "client" } │ │ 862 else │ │ 863 &.{ "git", "clone", "--depth", "1", remote_url, "client" }, │ │ 864 .cwd = .{ .path = temp_path }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 891 { │ │ 892 var process = try std.process.spawn(io, .{ │ │ 893 .argv = if (is_ssh) │ │1076 - &.{ "git", "-c", ssh_config_arg, "pull", "--upload-pack", upload_pack_command, "--unshallow" }│ │ 894 + &.{ "git", "-c", ssh_config_arg, "pull", "--unshallow" } │ │ 895 else │ │ 896 &.{ "git", "pull", "--unshallow" }, │ │ 897 .cwd = .{ .path = client_path }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 917 { │ │ 918 var process = try std.process.spawn(io, .{ │ │ 919 .argv = if (is_ssh) │ │1102 - &.{ "git", "-c", ssh_config_arg, "clone", "--upload-pack", upload_pack_command, "--shallow-since=2000-01-01", remote_url, "client" }│ │ 920 + &.{ "git", "-c", ssh_config_arg, "clone", "--shallow-since=2000-01-01", remote_url, "client" } │ │ 921 else │ │ 922 &.{ "git", "clone", "--shallow-since=2000-01-01", remote_url, "client" }, │ │ 923 .cwd = .{ .path = temp_path }, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 943 { │ │ 944 var process = try std.process.spawn(io, .{ │ │ 945 .argv = if (is_ssh) │ │1128 - &.{ "git", "-c", ssh_config_arg, "clone", "--upload-pack", upload_pack_command, "--shallow-exclude=v1", remote_url, "client" }│ │ 946 + &.{ "git", "-c", ssh_config_arg, "clone", "--shallow-exclude=v1", remote_url, "client" } │ │ 947 else │ │ 948 &.{ "git", "clone", "--shallow-exclude=v1", remote_url, "client" }, │ │ 949 .cwd = .{ .path = temp_path }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 969 { │ │ 970 var process = try std.process.spawn(io, .{ │ │ 971 .argv = if (is_ssh) │ │1154 - &.{ "git", "-c", ssh_config_arg, "clone", "--upload-pack", upload_pack_command, "--filter=blob:none", remote_url, "client" }│ │ 972 + &.{ "git", "-c", ssh_config_arg, "clone", "--filter=blob:none", remote_url, "client" } │ │ 973 else │ │ 974 &.{ "git", "clone", "--filter=blob:none", remote_url, "client" }, │ │ 975 .cwd = .{ .path = temp_path }, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 995 { │ │ 996 var process = try std.process.spawn(io, .{ │ │ 997 .argv = if (is_ssh) │ │1180 - &.{ "git", "-c", ssh_config_arg, "clone", "--upload-pack", upload_pack_command, "--filter=tree:0", remote_url, "client" }│ │ 998 + &.{ "git", "-c", ssh_config_arg, "clone", "--filter=tree:0", remote_url, "client" } │ │ 999 else │ │1000 &.{ "git", "clone", "--filter=tree:0", remote_url, "client" }, │ │1001 .cwd = .{ .path = temp_path }, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1016 } │ │1017 } else { │ │1018 const ssh_cmd_maybe: ?[]const u8 = if (is_ssh) blk: { │ │1201 - const known_hosts_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "known_hosts" });│ │1202 - defer allocator.free(known_hosts_path); │ │1203 - │ │1019 const priv_key_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "key" }); │ │1020 defer allocator.free(priv_key_path); │ │1021 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1207 - break :blk try std.fmt.allocPrint(allocator, "ssh -o UserKnownHostsFile=\"{s}\" -o IdentityFile=\"{s}\"", .{ known_hosts_path, priv_key_path }); │ │1022 + break :blk try std.fmt.allocPrint(allocator, "ssh -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o IdentityFile=\"{s}\"", .{priv_key_path});│ │1023 } else null; │ │1024 defer if (ssh_cmd_maybe) |ssh_cmd| allocator.free(ssh_cmd); │ │1025 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────╮ │1032 client_path, │ │1033 .{ .wire = .{ .ssh = .{ │ │1034 .command = ssh_cmd_maybe, │ │1220 - .upload_pack_command = upload_pack_command,│ │1221 - } } }, │ │1035 + } } }, │ │1036 ); │ │1037 defer client_repo.deinit(io, allocator); │ │1038 │ ╰─────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1144 .wire => |wire_kind| .ssh == wire_kind, │ │1145 }; │ │1146 │ │1333 - const upload_pack_command = try uploadPackCommand(is_ssh, allocator, cwd_path, port); │ │1334 - defer allocator.free(upload_pack_command); │ │1147 │ │1148 if (shell_out_to_git) { │ │1149 const priv_key_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "key" });│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯