Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

refactor(switch): drop dead title/body clones from the --prs GitHub status (#3188)

Maximilian Roosa671d4c27ad8
diff --git a/src/commands/list/ci_status/github.rs b/src/commands/list/ci_status/github.rs
index eb569d68d..46460ba03 100644
--- a/src/commands/list/ci_status/github.rs
+++ b/src/commands/list/ci_status/github.rs
@@ -317,13 +317,10 @@ impl GitHubPrInfo {
url: self.url.clone(),
number: self.number.map(PrRef::pr),
review_state: self.review_state(),
- // TODO(prs-status-title-body): the `--prs` pane reads title/body from
- // the `PrEntry`, not from this status (which feeds only the CI column),
- // so these clones are dead data here. GitLab's `gitlab_mr_status` sets
- // both `None` for this reason — unify the two `--prs` status builders
- // (drop them here to match, or have both read from the status).
- title: self.title.clone(),
- body: self.body.clone(),
+ // The `--prs` pane reads title/body from the `PrEntry`, not this status
+ // (which feeds only the CI column), so they stay absent here.
+ title: None,
+ body: None,
}
}
}