╭ changed ───────────────╮ │src/test/event/patch.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │147 .title = "add the answer", │ │148 .description = "adds a reusable answer constant", │ │149 .tags = "enhancement", │ │150 + .target_branch = "master", │ │151 }; │ │152 const tree_entries = [_]evt.EventTreeEntry{ │ │153 .{ .tree = .{ .name = "base", .oid = &base_tree_oid } },│ ╰─────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │166 &target, │ │167 evt.events_ref, │ │168 patchrev_id, │ │168 - .{ .base_oid = &base_oid, .source_oid = &source_oid, .target_ref = "refs/heads/master", .message = patch.title },│ │169 + .{ .base_oid = &base_oid, .source_oid = &source_oid, .message = patch.title }, │ │170 &tree_entries, │ │171 3, │ │172 patch_id, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────╮ │225 .id = std.fmt.bytesToHex(patchrev_id, .lower),│ │226 .squash_oid = &initial_patch_oid, │ │227 .source_oid = &source_oid, │ │227 - .target_ref = "refs/heads/master", │ │228 }; │ │229 updated_patch.title = "add a reusable answer"; │ │230 { │ ╰───────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │296 try consumePatchWithRevision(.repo, io, allocator, &target, evt.events_ref, patchrev_a_id, .{│ │297 .base_oid = &base_oid, │ │298 .source_oid = &source_a_oid, │ │299 - .target_ref = "refs/heads/master", │ │299 .message = updated_patch.title, │ │300 }, &target_entries, 8, patch_id, target_patch, 9); │ │301 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │315 try consumePatchWithRevision(.repo, io, allocator, &target, side_events_ref, patchrev_b_id, .{│ │316 .base_oid = &base_oid, │ │317 .source_oid = &source_b_oid, │ │319 - .target_ref = "refs/heads/master", │ │318 .message = updated_patch.title, │ │319 }, &parent_entries, 10, patch_id, parent_patch, 11); │ │320 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │364 try consumePatchWithRevision(.repo, io, allocator, &target, evt.events_ref, child_patchrev_id, .{│ │365 .base_oid = merged_patchrev.patch_oid, │ │366 .source_oid = &source_b_oid, │ │369 - .target_ref = "refs/heads/master", │ │367 .message = "stack another answer change", │ │368 }, &child_entries, 12, child_id, .{ │ │369 .title = "stack another answer change", │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────╮ │370 .description = "depends on the first patch", │ │371 .tags = "enhancement", │ │372 + .target_branch = "master", │ │373 .target_patch_id = std.fmt.bytesToHex(patch_id, .lower),│ │374 }, 13); │ │375 } │ ╰─────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────╮ │465 .title = "invalid merged patch", │ │466 .description = "has no revision", │ │467 .tags = "enhancement", │ │468 + .target_branch = "master", │ │469 .status = .{ .merged = &base_oid },│ │470 } }, │ │471 }})); │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────╮ │574 const patch_id = evt.EventWithId.randomId(prng.random()); │ │575 const patch_id_hex = std.fmt.bytesToHex(patch_id, .lower); │ │576 const draft_path = try fork.create(repo_opts, io, allocator, repos_dir, &admin, .{│ │577 + .target_branch = "master", │ │578 .id = patch_id_hex, │ │579 .user_id = user_id, │ │580 .repo_id = repo_id, │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │630 try consumePatchWithRevision(.fork, io, allocator, &draft, evt.events_ref, first_patchrev_id, .{│ │631 .base_oid = &base_oid, │ │632 .source_oid = &source_oid, │ │633 - .target_ref = "refs/heads/master", │ │633 .message = "add the answer", │ │634 }, &first_entries, 3, patch_id, .{ │ │635 .title = "add the answer", │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯