Add todos
This commit is contained in:
parent
19a7bda8ab
commit
0f3cf296f1
2 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
//! Add new commits to the database and update the tracked refs.
|
//! Add new commits to the database and update the tracked refs.
|
||||||
|
|
||||||
// TODO Think about whether ref hashes should be tracked in the db
|
// 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;
|
use std::collections::HashSet;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@ WHERE parent = ?
|
||||||
.fetch_all(&db)
|
.fetch_all(&db)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
// TODO Store commit info in db and avoid Repository
|
||||||
// TODO Include untracked info for current commit
|
// TODO Include untracked info for current commit
|
||||||
let repo = repo.to_thread_local();
|
let repo = repo.to_thread_local();
|
||||||
let id = hash.parse::<ObjectId>()?.attach(&repo);
|
let id = hash.parse::<ObjectId>()?.attach(&repo);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue