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 7cb0720 + 49f851d commit be941d7Copy full SHA for be941d7
src/main.rs
@@ -67,7 +67,7 @@ use least_satisfying::{least_satisfying, Satisfies};
67
fn get_commits(start: &str, end: &str) -> Result<Vec<git::Commit>, Error> {
68
eprintln!("fetching commits from {} to {}", start, end);
69
let commits = git::get_commits_between(start, end)?;
70
- assert_eq!(commits.first().expect("at least one commit").sha, start);
+ assert_eq!(commits.first().expect("at least one commit").sha, git::expand_commit(start)?);
71
72
Ok(commits)
73
}
0 commit comments