╭ changed ────╮ │src/serve.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │89 │ │90 // create ssh listener and its session state │ │91 │ │92 - const clone_http_port: ?u16 = if (http_maybe) |*http| http.port() else null; │ │92 + const git_http_port: ?u16 = if (http_maybe) |*http| http.port() else null; │ │93 var ssh_maybe: ?SshService = if (options.ssh_listen) |value| blk: { │ │94 const address = try parseListenAddress(value); │ │95 var listener = BoundListener{ .address = address, .server = try listen(io, address, .reuse) };│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │102 .admin_repo_path = admin_repo_path, │ │103 .repo_root_path = repo_root_path, │ │104 .wui_port = wui_server.socket.address.getPort(),│ │105 - .clone_http_port = clone_http_port, │ │106 - .clone_ssh_port = ssh_port, │ │105 + .git_http_port = git_http_port, │ │106 + .git_ssh_port = ssh_port, │ │107 .err = err, │ │108 }, │ │109 }; │ ╰─────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │117 │ │118 // run listeners, printing the ports actually bound │ │119 │ │120 - const clone_ssh_port: ?u16 = if (ssh_maybe) |*ssh| ssh.listener.port() else null; │ │120 + const git_ssh_port: ?u16 = if (ssh_maybe) |*ssh| ssh.listener.port() else null; │ │121 │ │122 if (http_maybe) |*http| { │ │123 try err.print("serving HTTP on {s}:{d}, repo root {s}\n", .{ http.address.host, http.port(), repo_root_path });│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────╮ │137 runWebListener(io, allocator, &wui_server, &tasks, .{ .remote = .{│ │138 .admin_repo_path = admin_repo_path, │ │139 .session_store = session_store, │ │140 - .clone_http_port = clone_http_port, │ │141 - .clone_ssh_port = clone_ssh_port, │ │140 + .git_http_port = git_http_port, │ │141 + .git_ssh_port = git_ssh_port, │ │142 } }, err); │ │143 │ │144 if (@TypeOf(runnable) != void) { │ ╰───────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮ │145 - try runnable.run(wui_server.socket.address.getPort(), clone_http_port, clone_ssh_port);│ │145 + try runnable.run(wui_server.socket.address.getPort(), git_http_port, git_ssh_port); │ │146 } else { │ │147 try tasks.await(io); │ │148 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯