╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │76 // (NotFound -> 404); the bare route falls through to an empty listing. │ │77 const strict = rooted or tagged; │ │78 │ │77 - // a local repo's events live in the event db next to it (consumed from the │ │78 - // events branch at startup); a server repo has them consumed into its own │ │79 - // db. a repo with no consumed events has no moment yet. │ │79 + // a repo with no consumed events has no moment yet. │ │80 const gpa = arena.child_allocator; │ │81 - var event_db_maybe = try evt.LocalEventDB(repo_opts.hash).open(io, gpa, repo.core.repo_dir); │ │81 + var event_db_maybe = if (is_local) try evt.LocalEventDB(repo_opts.hash).open(io, gpa, repo.core.repo_dir) else null;│ │82 defer if (event_db_maybe) |*event_db| event_db.deinit(io, gpa); │ │83 const haxy_moment = (if (event_db_maybe) |*event_db| │ │84 evt.currentMomentFromDb(repo_opts.hash, event_db.db) │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────╮ │85 else if (repo_kind == .git) │ │86 return empty │ │87 + else if (is_local) │ │88 + return empty │ │89 else │ │90 evt.currentMoment(repo_opts, repo)) catch {│ │91 if (strict) return error.NotFound; │ ╰───────────────────────────────────────────────────────╯