From 0f3cf296f1099832b6a7fd670a3da50af208ca6a Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 6 Aug 2023 01:54:22 +0200 Subject: [PATCH] Add todos --- src/recurring/repo.rs | 1 + src/web/commit_hash.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/recurring/repo.rs b/src/recurring/repo.rs index 48547e8..c18c460 100644 --- a/src/recurring/repo.rs +++ b/src/recurring/repo.rs @@ -1,6 +1,7 @@ //! Add new commits to the database and update the tracked refs. // TODO Think about whether ref hashes should be tracked in the db +// TODO Prevent some sync stuff from blocking the async stuff use std::collections::HashSet; diff --git a/src/web/commit_hash.rs b/src/web/commit_hash.rs index 93a45da..65a0f54 100644 --- a/src/web/commit_hash.rs +++ b/src/web/commit_hash.rs @@ -62,6 +62,7 @@ WHERE parent = ? .fetch_all(&db) .await?; + // TODO Store commit info in db and avoid Repository // TODO Include untracked info for current commit let repo = repo.to_thread_local(); let id = hash.parse::()?.attach(&repo);