diff options
Diffstat (limited to 'core/Core.zig')
| -rw-r--r-- | core/Core.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Core.zig b/core/Core.zig index 177a6e78..efa2ac3d 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -355,10 +355,11 @@ lsp_ask: Ask = .{}, pipe: Pipe = .{}, /// A query pane's Grep, and its Find's listing, on a worker (Stream.zig). stream: Stream = .{}, -/// What jj answered for each pane's `Changes` (jj.zig), by its serial: the -/// session's list, not a field of every pane (a digest and a rollback copy -/// walk every pane's fields at every step). -changes: std.ArrayList(@import("jj.zig").Changes) = .empty, +/// The panes' `Changes` (jj.zig): what was asked of jj, and what it +/// answered for each pane, by its serial: the session's, not a field of +/// every pane (a digest and a rollback copy walk every pane's fields at +/// every step), and nothing in a digest until a `Changes` is asked. +changes: @import("jj.zig").Session = .{}, fs: filesystem.Namespace = .{}, boot: Boot = .shell, @@ -868,7 +869,6 @@ pub fn deinit(p: *Pardes) void { for (p.spawn_dirs) |d| if (d) |dir| gpa.free(dir); p.pipe.deinit(gpa); p.stream.deinit(gpa); - for (p.changes.items) |*c| c.deinit(gpa); p.changes.deinit(gpa); p.handover.deinit(gpa); if (p.stream.ahead.len > 0) p.tree_sitter_gpa.free(p.stream.ahead); |
