Skip to content

feature: add total added/removed line counts to changes views#2525

Open
geviraydev wants to merge 1 commit into
sourcegit-scm:developfrom
geviraydev:feat/diff-line-totals
Open

feature: add total added/removed line counts to changes views#2525
geviraydev wants to merge 1 commit into
sourcegit-scm:developfrom
geviraydev:feat/diff-line-totals

Conversation

@geviraydev

@geviraydev geviraydev commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Completes what #2194 deferred - that PR added per-file line counts to the diff view only, noting it skipped totals "to avoid extra overhead." This adds the totals.

Shows total +N/-N (green/red, hidden when zero) in the summary bars of Working Copy (staged & unstaged), Commit Detail, Compare, and Revision Compare - same display convention as #2194.

Kept minimal: one new command (QueryDiffLineStats, git diff --numstat -z) run alongside each view's existing changes query.

Related: #1176.

image

@geviraydev geviraydev force-pushed the feat/diff-line-totals branch from efbf4ee to b3fa69e Compare July 12, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant