# git: Do not log error if repository has no commits \(\#11163\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5ef75919f09e31c28b75c09e695946b6c4d9c3ee

Requested commit: 5ef75919f09e31c28b75c09e695946b6c4d9c3ee

Commit: 5ef75919f09e31c28b75c09e695946b6c4d9c3ee

Tree: 69b6471326241f9927ae73ac195eece785e8bc54

Author: Thorsten Ball

Committer: GitHub

## Message

```
git: Do not log error if repository has no commits (#11163)

This is a follow-up to #10685 which started to hide these errors instead
of displaying them to the user.

But the errors are still noisy and not actionable, so we hide them
instead.

Release Notes:

- Removed error message being logged when `git blame` is run in a
repository without commits.

Co-authored-by: Bennet <bennetbo@gmx.de>
```

## Parents

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

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