╭ changed ──╮ │src/try.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1391 // transaction moves the branch, refreshes the patches tracking it and records │ │1392 // the action, the way receive-pack does │ │1393 -fn seedPush(io: std.Io, allocator: std.mem.Allocator, repo: *rp.Repo(.xit, .{}), author: evt.CommitAuthor) !void { │ │1393 +fn seedPush(io: std.Io, allocator: std.mem.Allocator, repo: *rp.Repo(.xit, .{}), users_dir: []const u8, author: evt.CommitAuthor) !void {│ │1394 const Repo = rp.Repo(.xit, .{}); │ │1395 const DB = Repo.DB; │ │1396 const Ctx = struct { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────╮ │1397 core: *Repo.Core, │ │1398 io: std.Io, │ │1399 allocator: std.mem.Allocator, │ │1400 + users_dir: []const u8, │ │1401 author: evt.CommitAuthor, │ │1402 │ │1403 pub fn run(ctx: @This(), cursor: *DB.Cursor(.read_write)) !void {│ ╰───────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1435 }, │ │1436 }; │ │1437 │ │1437 - _ = try pch.refreshBranchesInTransaction(.server, opts, state, &moment, ctx.io, ctx.allocator, &updates, null, null); │ │1438 + _ = try pch.refreshBranchesInTransaction(.{ .server = .{ .users_dir = ctx.users_dir } }, opts, state, &moment, ctx.io, ctx.allocator, &updates, null, null);│ │1439 try push.writeUndo(opts, state, ctx.io, ctx.allocator, ctx.author, &updates); │ │1440 } │ │1441 }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1442 │ │1442 - try transaction(io, repo, Ctx{ .core = &repo.core, .io = io, .allocator = allocator, .author = author }); │ │1443 + try transaction(io, repo, Ctx{ .core = &repo.core, .io = io, .allocator = allocator, .users_dir = users_dir, .author = author });│ │1444 } │ │1445 │ │1446 // commit `events` onto `ref`, rooted at `parent`, as one transaction. │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯