╭ changed ────╮ │src/patch.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1248 .timestamp = input.timestamp, │ │1249 }); │ │1250 } │ │1251 - evt.bumpRepoActivityAt(io, allocator, users_dir, target_repo.core.work_path); │ │1251 + evt.bumpRepoActivityAt(io, allocator, server, target_repo.core.work_path); │ │1252 │ │1253 // refresh other patches affected by the updated target branch. │ │1254 - refreshOpenMergeability(repo_opts, io, allocator, target_repo, users_dir, null, null); │ │1254 + refreshOpenMergeability(repo_opts, io, allocator, target_repo, server.users_dir, null, null);│ │1255 } │ │1256 │ │1257 // merge a published patch and remove its fork │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────╮ │1259 comptime repo_opts: rp.RepoOpts(.xit), │ │1260 io: std.Io, │ │1261 allocator: std.mem.Allocator, │ │1262 - users_dir: []const u8, │ │1262 + server: evt.Host.Server, │ │1263 target_repo: *rp.Repo(.xit, repo_opts),│ │1264 input: MergeInput, │ │1265 ) !void { │ ╰─────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────╮ │1266 - try merge(repo_opts, io, allocator, users_dir, target_repo, input);│ │1266 + try merge(repo_opts, io, allocator, server, target_repo, input); │ │1267 var arena = std.heap.ArenaAllocator.init(allocator); │ │1268 defer arena.deinit(); │ │1269 │ ╰─────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────╮ │1277 defer config.deinit(); │ │1278 break :blk (try fork.readForkerId(&config.sections, &patch_id)) orelse return; │ │1279 }; │ │1280 - try fork.remove(io, allocator, users_dir, &forker_id, &input.id, input.author); │ │1280 + try fork.remove(io, allocator, server.users_dir, &forker_id, &input.id, input.author);│ │1281 } │ │1282 │ │1283 fn commitAuthor(line: []const u8) !evt.CommitAuthor { │ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯