╭ changed ────────╮ │src/ui/widget.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │256 .fork => unreachable, │ │257 }; │ │258 const aa = session.page_arena.allocator(); │ │259 - const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/repo/{s}", .{ port, identity });│ │259 + const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/{s}", .{ port, identity }); │ │260 break :blk try CopyableText.init(allocator, session, &.{.{ │ │261 .text = url, │ │262 .copyable_text = try std.fmt.allocPrint(aa, "git remote add origin {s}", .{url}), │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1927 switch (handle.location) { │ │1928 .repo => |identity| { │ │1929 if (session.data.git_http_port) |port| { │ │1930 - const url = try std.fmt.allocPrint(aa, "http://localhost:{d}/repo/{s}", .{ port, identity });│ │1930 + const url = try std.fmt.allocPrint(aa, "http://localhost:{d}/{s}", .{ port, identity }); │ │1931 choices[count] = .{ │ │1932 .selector = "http", │ │1933 .text = url, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1938 } │ │1939 if (session.data.git_ssh_port) |port| { │ │1940 ssh_index = count; │ │1941 - const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/repo/{s}", .{ port, identity });│ │1941 + const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/{s}", .{ port, identity }); │ │1942 choices[count] = .{ │ │1943 .selector = "ssh", │ │1944 .text = url, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1949 } │ │1950 }, │ │1951 .fork => |f| if (session.data.git_ssh_port) |port| { │ │1952 - const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/fork/{s}/patch:{s}", .{ port, f.identity, f.id });│ │1952 + const url = try std.fmt.allocPrint(aa, "ssh://localhost:{d}/{s}+{s}", .{ port, f.identity, f.id }); │ │1953 choices[count] = .{ │ │1954 .text = url, │ │1955 .copyable_text = try std.fmt.allocPrint(aa, "{s}git clone {s}", .{ session.data.git_ssh_prefix, url }), │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯