╭ changed ────╮ │src/patch.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────╮ │ 6 const obj = xit.object; │ │ 7 const rf = xit.ref; │ │ 8 const mrg = xit.merge; │ │ 9 +const find = @import("find.zig"); │ │10 const fork = @import("fork.zig"); │ │11 const serve_common = @import("serve_common.zig");│ │12 │ ╰─────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │744 }); │ │745 } │ │746 refreshMergeability(repo_opts, io, allocator, target_repo, null); │ │747 + // the merge moved the target branch, so its file index follows │ │748 + find.refresh(repo_opts, io, allocator, target_repo) catch |err| { │ │749 + std.log.warn("failed to refresh file index: {s}", .{@errorName(err)});│ │750 + }; │ │751 } │ │752 │ │753 // merge a published patch and remove its fork │ ╰───────────────────────────────────────────────────────────────────────────────────╯