Update comments and notes

This commit is contained in:
Joscha 2025-05-05 00:02:36 +02:00
parent 3c42339291
commit 0e7e54bf71
2 changed files with 1 additions and 5 deletions

View file

@ -86,6 +86,7 @@ pub fn save(path: &Path, repo: Repo) -> anyhow::Result<Oid> {
let message = Zoned::now().to_string();
// TODO Check that the repo is actually based on this commit.
// TODO Check if there actually is a difference to the parent commit
let parent = match read_head(&repository)? {
None => None,
Some(parent) => Some(parent.peel_to_commit()?),