╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────────────────────────────────╮ │1 const std = @import("std"); │ │2 const evt = @import("../event.zig");│ │3 +const pch = @import("../patch.zig");│ │4 const ui = @import("../ui.zig"); │ │5 const xit = @import("xit"); │ │6 const rp = xit.repo; │ ╰───────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │232 // local mode: bring the event db up to date with the events branch │ │233 if (session.local != null) { │ │234 try evt.consume(.local, .repo, repo_kind, opened.self_repo_opts, io, gpa, opened, evt.events_ref, &.{}); │ │234 - try @import("../patch.zig").refreshBranches(.local, repo_kind, opened.self_repo_opts, io, gpa, opened, null); │ │235 + try pch.refreshBranches(.local, repo_kind, opened.self_repo_opts, io, gpa, opened, null, null); │ │236 } │ │237 const files_data = try Files.init(repo_kind, opened.self_repo_opts, arena, opened, io, gpa, location, requested_ref_or_oid, requested_ref_value, files_dir, files_line);│ │238 const target_branch = if (files_data.ref_or_oid == .branch) files_data.ref_or_oid_value else ""; │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯