Move git commit message creation into class

This commit is contained in:
Stephan Kulow
2022-11-06 10:14:55 +01:00
parent 9114c2fff8
commit f1457e8f8e
2 changed files with 5 additions and 2 deletions

View File

@@ -144,8 +144,7 @@ class GitExporter:
flat.user.realname,
flat.user.email,
flat.commit.commit_time,
# TODO: Normalize better the commit message
f"{flat.commit.comment}\n\n{flat.commit}",
flat.commit.git_commit_message(),
parents=parents,
)
flat.commit.git_commit = commit