Use first line of commit message for git info
@@ -8,4 +8,6 @@ def git_version_info():
if not commit:
return None
- return f"{commit['commit'][0:8]}: {commit['message']} @{commit['author_date']}"
+ message = commit['message'].split("\n")[0]
+
+ return f"{commit['commit'][0:8]}: {message} @{commit['author_date']}"
