Repository navigation
Replies: 1 comment
|
I opened draft PR #32228 with the optional setting, before/after screenshots, and a short recording. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I use Changes to review my current branch or PR, but uncommitted files can swamp its total. In one example, a branch with 4 committed lines showed +10,008 because Changes also counted 2 staged lines, 2 unstaged lines, and a 10,000-line untracked report. That total is correct for the working tree. It just doesn't tell me how big the committed change is.
Proposal
Add an optional Changes comparison setting under Settings → Diffs & pull requests:
This changes what Changes compares, not how it counts. Related: #30089 and #19530.
To reproduce
On a feature branch from main, commit a few lines, stage a few more, leave a few unstaged, and add a large untracked file. Open the branch's Changes row.
Recorded example
I built the option on main at
6577c6b618and recorded it in an isolated web preview. The repository and conversation are synthetic, but the totals come from real Git reads.More screenshots: the setting · local work under Uncommitted
Recording of the switch (10 seconds, no audio):
changes-comparison.mp4
All reactions