t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Allow Changes totals to focus on the current PR or committed branch

Open CadenEl opened this issue 3 weeks ago • 0 comments

I use Changes to review my current branch or PR, but local files can dominate its total. I reproduced +10,008 with four committed added lines, two staged lines, two unstaged lines, and a 10,000-line untracked report. That total matches the current working-tree comparison, but it does not show the size of the committed change.

To reproduce, create those changes on a feature branch from main, then open its Changes row.

I propose a Changes comparison setting under Diffs & pull requests. Keep All changes, including local work as the default. Current PR or committed branch would show the checked-out branch’s open PR, or its committed diff, with local work separately under Uncommitted.

The prepared screenshots and recording use synthetic files, based on main at 6577c6b618. This is a scope option, not an arithmetic correction. Related work: #30089 and #19530.

CadenEl avatar Nov 06 '26 19:11 CadenEl