# Disable diff hunks for untracked files, even w/ no newline at eof \(\#25980\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 563baf682eaf92e29cf50de5c9992eb13db5ff4c

Requested commit: 563baf682eaf92e29cf50de5c9992eb13db5ff4c

Commit: 563baf682eaf92e29cf50de5c9992eb13db5ff4c

Tree: 443c77962c42e7433435cb380796ad5fb5dd6e4e

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Disable diff hunks for untracked files, even w/ no newline at eof (#25980)

This fixes an issue where diff hunks were shown for untracked files, but
only if the files did not end with a newline.

Release Notes:

- N/A
```

## Parents

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

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