We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e13b04 commit 9e6c1c3Copy full SHA for 9e6c1c3
simvue/metadata.py
@@ -45,7 +45,7 @@ def git_info(repository: str) -> dict[str, typing.Any]:
45
# In the case where the repository is dirty blame should point to the
46
# current developer, not the person responsible for the latest commit
47
if dirty := git_repo.is_dirty():
48
- blame = git_repo.config_reader().get_value("user", "email")
+ blame = git_repo.config_reader().get_value("user", "email", "unknown")
49
else:
50
blame = current_commit.committer.email
51
0 commit comments