diff --git a/src/git/git.py b/src/git/git.py index b522580..cb4aefa 100644 --- a/src/git/git.py +++ b/src/git/git.py @@ -128,7 +128,7 @@ class GitRepo: message = message_result.stdout.strip() author_parts = author_result.stdout.strip().split("|") author = author_parts[0] if author_parts else "Unknown" - date = author_parts[2] if len(author_parts) > 2 else "" + date = author_parts[2] if len(author_parts) > 2 else "" # noqa: PLR2004 changes = self._get_commit_changes(sha)