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>
5ef75919f0Thorsten Ball committed on 4/29/2024, 2:00:29 PM· committed by GitHubparent9746f4f
1 file changedLine totals unavailable