# git blame: Do not try to blame buffer if it has no file \(\#10985\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7ec963664e64a1e776c521c8e39391c81de9067d

Requested commit: 7ec963664e64a1e776c521c8e39391c81de9067d

Commit: 7ec963664e64a1e776c521c8e39391c81de9067d

Tree: 84181f4d7cdea6291b1b0cc0d48416ba405a78a5

Author: Thorsten Ball

Committer: GitHub

## Message

```
git blame: Do not try to blame buffer if it has no file (#10985)

Release Notes:

- Fixed error messages being logged due to inline git blame not working
on an empty buffer that hasn't been saved yet.
```

## Parents

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

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