╭ changed ──╮ │src/try.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────╮ │1126 tags: []const u8, │ │1127 status: ?evt.Patch.StatusKind, │ │1128 alpha_edit: ?ScatterEdit = null, │ │1129 + // based behind master, so merging it makes a merge commit│ │1130 + behind_master: bool = false, │ │1131 }{ │ │1132 .{ │ │1133 .title = "Draft a faster dependency scanner", │ ╰────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1140 .description = "Delete the compatibility loader now that the replacement format has shipped and the migration warning has been available for a full release.",│ │1141 .tags = "cleanup config", │ │1142 .status = .merged, │ │1143 + .behind_master = true, │ │1144 }, │ │1145 .{ │ │1146 .title = "Cache parsed manifests between commands", │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1197 defer arena.deinit(); │ │1198 const aa = arena.allocator(); │ │1199 var base_oid = (try target_repo.readRef(io, .{ .kind = .head, .name = "master" })) orelse return error.NotFound; │ │1197 - var contents: [3][]const u8 = undefined; │ │1198 - const file_path: []const u8, const count: usize = if (patch.alpha_edit) |edit| blk: { │ │1200 + if (patch.alpha_edit != null or patch.behind_master) { │ │1201 // v30 precedes the last scatter commit, even after the sample merge │ │1202 const tag_oid = (try target_repo.readRef(io, .{ .kind = .tag, .name = "v30" })) orelse return error.NotFound;│ │1203 var moment = try target_repo.core.latestMoment(); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1208 .tag => |value| value.target, │ │1209 else => return error.InvalidObject, │ │1210 }; │ │1211 + } │ │1212 + var contents: [3][]const u8 = undefined; │ │1213 + const file_path: []const u8, const count: usize = if (patch.alpha_edit) |edit| blk: {│ │1214 // rev 29 first changes line 4; edit that line or the one above it │ │1215 contents[0] = try scatterContent(aa, 0, 28, edit); │ │1216 break :blk .{ "src/alpha.txt", 1 }; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯