fix function call

This commit is contained in:
Nikita Galaiko 2023-09-18 15:11:20 +02:00 committed by GitButler
parent 7ca7dfd3e2
commit 160eae4e22

View File

@ -453,7 +453,7 @@ pub fn target_to_base_branch(
.log(oid, project_repository::LogUntil::Commit(target.sha)) .log(oid, project_repository::LogUntil::Commit(target.sha))
.context("failed to get upstream commits")? .context("failed to get upstream commits")?
.iter() .iter()
.map(|commit| super::commit_to_remote_commit(&project_repository.git_repository, commit)) .map(super::commit_to_remote_commit)
.collect::<Result<Vec<_>>>()?; .collect::<Result<Vec<_>>>()?;
// get some recent commits // get some recent commits