From 3be5673254926ff8500476b2d066d8ec5c2ecef8 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 6 Aug 2023 01:34:52 +0200 Subject: [PATCH] Remove whitespace at end of commit messages --- src/web/commit_hash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/commit_hash.rs b/src/web/commit_hash.rs index c6dbcef..93a45da 100644 --- a/src/web/commit_hash.rs +++ b/src/web/commit_hash.rs @@ -87,7 +87,7 @@ WHERE parent = ? current: "commit".to_string(), hash: id.to_string(), summary: commit.message()?.summary().to_string(), - message: commit.message_raw_sloppy().to_string(), + message: commit.message_raw()?.to_string().trim_end().to_string(), author: repo::format_actor(author_info.actor())?, author_date: repo::format_time(author_info.time), commit: repo::format_actor(committer_info.actor())?,