╭ changed ────╮ │src/event.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────╮ │575 writer: *std.Io.Writer, │ │576 options: xit.net_server_receive_pack.Options,│ │577 repo_root_path: []const u8, │ │578 + error_writer: *std.Io.Writer, │ │579 ) !void { │ │580 const DB = rp.Repo(.xit, repo_opts).DB; │ │581 const State = rp.Repo(.xit, repo_opts).State;│ ╰──────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────╮ │588 writer: *std.Io.Writer, │ │589 options: xit.net_server_receive_pack.Options, │ │590 repo_root_path: []const u8, │ │591 + error_writer: *std.Io.Writer, │ │592 │ │593 pub fn run(ctx: @This(), cursor: *DB.Cursor(.read_write)) !void {│ │594 var moment = try DB.HashMap(.read_write).init(cursor.*); │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │604 // transaction and must commit regardless. │ │605 if (null != try rf.readRecur(.xit, repo_opts, state.readOnly(), ctx.io, .{ .ref = events_ref })) { │ │606 _ = try consumeInTransaction(.repo, .xit, repo_opts, state, &ctx.core.db, &moment, ctx.io, ctx.allocator, events_ref); │ │605 - try pch.detectMerged(repo_opts, state, &ctx.core.db, &moment, ctx.io, ctx.allocator, ctx.repo_root_path, updates.items.items); │ │607 + try pch.detectMerged(repo_opts, state, &ctx.core.db, &moment, ctx.io, ctx.allocator, ctx.repo_root_path, updates.items.items, ctx.error_writer);│ │608 } │ │609 try xit.undo.writeMessage(repo_opts, state, .push); │ │610 try ctx.core.chunk_store_file.sync(ctx.io); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────╮ │625 .writer = writer, │ │626 .options = options, │ │627 .repo_root_path = repo_root_path,│ │628 + .error_writer = error_writer, │ │629 }, │ │630 ) catch |err| switch (err) { │ │631 error.CancelTransaction => {}, │ ╰──────────────────────────────────────────────────╯