WIP: add FIXME notes for commit_log
This commit is contained in:
parent
a259fd3552
commit
cde9531150
2 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,8 @@ async fn get_commit_history(
|
||||||
info!("new version matches");
|
info!("new version matches");
|
||||||
Ok(updated)
|
Ok(updated)
|
||||||
} else {
|
} else {
|
||||||
|
// FIXME: log original and updated on seperate log lines - can't find where one ends and
|
||||||
|
// the other beings!
|
||||||
error!(?updated, ?original, "new version doesn't match original");
|
error!(?updated, ?original, "new version doesn't match original");
|
||||||
Ok(original)
|
Ok(original)
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,6 +111,7 @@ impl super::OpenRepositoryLike for RealOpenRepository {
|
||||||
branch_name: &config::BranchName,
|
branch_name: &config::BranchName,
|
||||||
find_commits: &[git::Commit],
|
find_commits: &[git::Commit],
|
||||||
) -> Result<Vec<crate::Commit>, git::commit::log::Error> {
|
) -> Result<Vec<crate::Commit>, git::commit::log::Error> {
|
||||||
|
// FIXME: only finds 'main', does it need to prefix branch_name with 'origin/'?
|
||||||
self.0
|
self.0
|
||||||
.lock()
|
.lock()
|
||||||
.map_err(|_| git::commit::log::Error::Lock)
|
.map_err(|_| git::commit::log::Error::Lock)
|
||||||
|
|
Loading…
Reference in a new issue