# Show per-file diff stat in multibuffer headers \(\#60299\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/262fb9ba2a58859c2eef7814249f4d266b065179)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 262fb9ba2a58859c2eef7814249f4d266b065179

Requested commit: 262fb9ba2a58859c2eef7814249f4d266b065179

Commit: 262fb9ba2a58859c2eef7814249f4d266b065179

Tree: f57e1840f71ced4dc1fd7b0956ef22e20b685306

Author: Anthony Eid

Committer: GitHub

## Message

```
Show per-file diff stat in multibuffer headers (#60299)

Renders the per-file added/removed line counts (already tracked per
buffer by the multibuffer) in each diff multibuffer header, matching the
overall stat shown in the branch diff toolbar.

### Before
<img width="1624" height="1061" alt="Screenshot 2026-07-02 at 11 50 42
AM"
src="https://github.com/user-attachments/assets/3e46a90c-a4e1-4b72-8ec9-80931a7e4a9a"
/>

### After
<img width="1624" height="1061" alt="Screenshot 2026-07-02 at 12 03 58
PM"
src="https://github.com/user-attachments/assets/25900790-82f5-44e9-9a3b-731a3090f23e"
/>


Release Notes:

- Improved diff multibuffer headers to show per-file added/removed line
counts

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
```

## Parents

- [6eaad52c29a026591b18acfc0ef6f35bce85d676](https://git.cafe/gitcafe/zed/commit/6eaad52c29a026591b18acfc0ef6f35bce85d676?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/262fb9ba2a58859c2eef7814249f4d266b065179?format=markdown)
