-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Git
-
None
On the File Status page, SourceTree currently displays the number of staged files, for example:
Staged files (5 files)
It would be useful to also display a compact summary of the staged line changes next to this, similar to the output of:
git diff --cached --stats
For example:
Staged files (5 files) — 42 insertions
, 18 deletions![]()
Or, more compactly:
Staged files (5 files) — +42 / -18
The goal is to provide an immediate overview of the size of the staged changes without having to open the diff or run Git from the command line.
This would be particularly useful when reviewing a commit before staging/committing, as the user could immediately see both:
- how many files are staged
- how many lines were added and removed{{ }}
Ideally, the statistics would update automatically whenever the staged contents change.