Add commit to page

This commit is contained in:
nora 2023-09-03 11:11:49 +02:00
parent ef0de0124a
commit 1f89aae3de
4 changed files with 115 additions and 75 deletions

View file

@ -23,7 +23,7 @@ fn try_get_commit() -> eyre::Result<String> {
let stdout = String::from_utf8(stdout)?;
Ok(stdout.trim().to_owned())
Ok(stdout.trim()[0..8].to_owned())
}
fn has_no_changes() -> eyre::Result<bool> {