╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ────────╮ │src/serve_ssh.zig│ ╰─────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │366 var target_repo = rp.Repo(.xit, repo.self_repo_opts).open(io, allocator, .{ .path = target_path }) catch │ │367 return writeError(sess, "repo not found or has the wrong hash"); │ │368 defer target_repo.deinit(io, allocator); │ │370 - try fork.receivePack(repo.self_repo_opts, io, allocator, repo, &target_repo, &route.id, route.target, author, timestamp, &reader.interface, &writer.interface, handler.err);│ │369 + try fork.receivePack(repo.self_repo_opts, io, allocator, repo, &target_repo, &route.id, author, timestamp, &reader.interface, &writer.interface, handler.err); │ │370 }, │ │371 } │ │372 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ───────────────╮ │src/test/event/admin.zig│ ╰────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │396 defer allocator.free(target_path); │ │397 var target = try rp.Repo(.xit, fork_repo_opts).init(io, allocator, .{ .path = target_path });│ │398 defer target.deinit(io, allocator); │ │399 + { │ │400 + const file = try target.core.work_dir.createFile(io, "README", .{}); │ │401 + defer file.close(io); │ │402 + try file.writeStreamingAll(io, "repo\n"); │ │403 + } │ │404 + try target.add(io, allocator, &.{"README"}); │ │405 + _ = try target.commit(io, allocator, .{ .message = "initial" }); │ │406 │ │407 const draft_path = try fork.create(fork_repo_opts, io, allocator, repos_dir, &admin, .{ │ │408 + .target_branch = "master", │ │409 .id = fork_id_hex, │ │410 .user_id = user_id, │ │411 .repo_id = repo_id, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ───────────────╮ │src/test/event/patch.zig│ ╰────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │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 }})); │ ╰────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯