# \[Bug\]: Thread details Changes row ignores the base ref and whitespace setting chosen in the Changes panel · Issue \#19530 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/issues/19530)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: backlog

Priority: 0

## Description

[Discussion and activity](https://git.cafe/pingdotgg/t3code/issues/19530)

---

### Before submitting

- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.

### Area

Not sure

### Steps to reproduce

1. Open a thread on a feature branch that has commits ahead of the default branch.
2. In the thread details panel, click the Changes row. The diff panel opens on the branch comparison, and its header totals match the row.
3. In the diff panel, pick a different base ref in the comparison selector. Alternatively, with whitespace-only edits in the branch, toggle the diff whitespace setting.
4. Compare the +/- totals in the thread details Changes row with the totals in the diff panel header.

### Expected behavior

The Changes row shows the totals of the comparison that clicking it opens: the same base ref and whitespace setting as the diff panel.

### Actual behavior

The row keeps showing the totals for the server's automatic base, with whitespace counted. The diff panel header shows the totals for the base ref selected for the thread. After picking another base, the two numbers disagree and the row never follows.

Likely cause (source inspection): `GitActionsControl` reads `gitStatus.branchChanges ?? gitStatus.workingTree`, while `DiffPanel` computes its totals from `review.getDiffPreview` with the thread's remembered `baseRef` and `ignoreWhitespace`.

Related but distinct: #15314 is about which base the automatic comparison picks. This issue is about the row not following the base selected in the panel.

### Impact

Minor bug or occasional failure

### Version or commit

main @ 7ac952c630

### Environment

macOS 26.7.1 (arm64), desktop app 0.0.46-nightly.20261014.3105

### Logs or stack traces

```shell

```

### Screenshots, recordings, or supporting files

_No response_

### Workaround

Read the totals in the diff panel header instead of the thread details row.
