# git blame: ignore uncommitted files or repos without commits \(\#10685\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4f1861edb604d8de957c07e26fada0a6c4a41371

Requested commit: 4f1861edb604d8de957c07e26fada0a6c4a41371

Commit: 4f1861edb604d8de957c07e26fada0a6c4a41371

Tree: 55e2c7f46f4628d14bfc9768b2ee940aaf8435f8

Author: Thorsten Ball

Committer: GitHub

## Message

```
git blame: ignore uncommitted files or repos without commits (#10685)

This fixes useless error messages popping up in case a file hasn't been
committed yet or the repo doesn't have commits yet.

Release Notes:

- Fixed git blame functionality not handling errors correctly when there
are no commits yet or when file isn't committed yet.
```

## Parents

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

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