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.
7ec963664eThorsten Ball committed on 4/25/2024, 1:02:19 PM· committed by GitHubparent019821d
1 file changedLine totals unavailable