We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 516f1bd + 1368816 commit c84ef54Copy full SHA for c84ef54
src/main.rs
@@ -962,10 +962,11 @@ fn bisect_ci_via(
962
client: &Client,
963
access: &dyn RustRepositoryAccessor,
964
start_sha: &str,
965
- end_sha: &str)
+ end_ref: &str)
966
-> Result<BisectionResult, Error>
967
{
968
- let commits = access.commits(start_sha, end_sha)?;
+ let end_sha = access.commit(end_ref)?.sha;
969
+ let commits = access.commits(start_sha, &end_sha)?;
970
971
assert_eq!(commits.last().expect("at least one commit").sha, end_sha);
972
0 commit comments