Skip to content

Commit aa086d1

Browse files
Do not error on epoch commit not existing
1 parent 9bc91a1 commit aa086d1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -915,16 +915,6 @@ fn bisect_ci(cfg: &Config, client: &Client) -> Result<BisectionResult, Error> {
915915
);
916916
}
917917

918-
if let Some(ref c) = commits.first() {
919-
if !c.sha.starts_with(start) {
920-
bail!(
921-
"expected to start with {}, but started with {}",
922-
start,
923-
c.sha
924-
);
925-
}
926-
}
927-
928918
if let Some(ref c) = commits.last() {
929919
if end != "origin/master" && !c.sha.starts_with(end) {
930920
bail!("expected to end with {}, but ended with {}", end, c.sha);

0 commit comments

Comments
 (0)