- Commit
- 8c06824634abfc837c2f1debc5df57fc4e6dd3c0
- Parent
- 3c2de463a026f34735bbc6632aa6e780a00508b5
- Author
- Pablo <pablo-pie@riseup.net>
- Date
Replaced commit message with summary
Yet another static site generator for Git 🙀️
Replaced commit message with summary
1 files changed, 3 insertions, 1 deletions
Status | Name | Changes | Insertions | Deletions |
Modified | src/main.rs | 2 files changed | 3 | 1 |
diff --git a/src/main.rs b/src/main.rs @@ -648,7 +648,9 @@ impl<'repo> RepoRenderer<'repo> { let author = commit_sig.name().unwrap(); let time = commit_sig.when(); - let msg = commit.message().unwrap(); + let msg = commit + .summary() + .expect("commit summary should be valid UTF-8"); let id = commit.id();