# git: Don't show binary files in past commit view \(\#46312\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3835d40035a6e2c1fa394693dcb6b788efa5a4e5

Requested commit: 3835d40035a6e2c1fa394693dcb6b788efa5a4e5

Commit: 3835d40035a6e2c1fa394693dcb6b788efa5a4e5

Tree: ee7361617494f6261e095a1e2d3d5866d8835eee

Author: Cole Miller

Committer: GitHub

## Message

```
git: Don't show binary files in past commit view (#46312)

Also improves the commit view to use the same status-based buffer header
visual overrides as the project diff as a driveby.

Fixes https://github.com/zed-industries/zed/issues/45735

Release Notes:

- git: Binary files are no longer shown in garbled form when viewing an
old commit.
```

## Parents

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

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