╭ changed ──╮ │src/try.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │202 │ │203 try repo_i.add(io, allocator, &.{ "README.md", "docs/dev/contribute.md" }); │ │204 _ = try repo_i.commit(io, allocator, .{ .message = "let there be light" }); │ │205 + │ │206 + // a batch of empty commits so the commits tab has more than one page │ │207 + // to paginate through. stepped timestamps vary the date column. │ │208 + const base_ts: u64 = 1_700_000_000; // 2023-11-14 │ │209 + var c: usize = 0; │ │210 + while (c < 30) : (c += 1) { │ │211 + const message = try std.fmt.allocPrint(arena.allocator(), "empty commit {d}", .{c + 1}); │ │212 + _ = try repo_i.commit(io, allocator, .{ .message = message, .allow_empty = true, .timestamp = base_ts + c * std.time.s_per_day });│ │213 + } │ │214 } │ │215 │ │216 break :blk try ui.Session.init(&session_arena, &repo, .{}); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯