diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-17 15:02:53 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-17 15:16:03 +0100 |
| commit | 709946c1b49114b71d3080bb8d97e63525f40fd9 (patch) | |
| tree | c6b96c9a4c0c306187991166338f108b95d3bb80 /src/lib/git/mod.rs | |
| parent | c7c6e8ba4bf3309aed92a620b2435370dae0d6ed (diff) | |
chore: cargo update
update patches ahead of wider upgrade. clippy required some autofixes
Diffstat (limited to 'src/lib/git/mod.rs')
| -rw-r--r-- | src/lib/git/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/git/mod.rs b/src/lib/git/mod.rs index 06573eb..b9711ae 100644 --- a/src/lib/git/mod.rs +++ b/src/lib/git/mod.rs | |||
| @@ -459,8 +459,7 @@ impl RepoActions for Repo { | |||
| 459 | }) { | 459 | }) { |
| 460 | None => { | 460 | None => { |
| 461 | bail!(format!( | 461 | bail!(format!( |
| 462 | "{} is not an ancestor of {}", | 462 | "{latest_commit} is not an ancestor of {base_commit}" |
| 463 | latest_commit, base_commit | ||
| 464 | )); | 463 | )); |
| 465 | } | 464 | } |
| 466 | Some(res) => res.context("revwalk failed to reveal commit")?, | 465 | Some(res) => res.context("revwalk failed to reveal commit")?, |
| @@ -671,7 +670,7 @@ impl RepoActions for Repo { | |||
| 671 | if !applied_oid.to_string().eq(commit_id) { | 670 | if !applied_oid.to_string().eq(commit_id) { |
| 672 | bail!( | 671 | bail!( |
| 673 | "when applied the patch commit id ({}) doesn't match the one specified in the event tag ({})", | 672 | "when applied the patch commit id ({}) doesn't match the one specified in the event tag ({})", |
| 674 | applied_oid.to_string(), | 673 | applied_oid, |
| 675 | get_commit_id_from_patch(patch)?, | 674 | get_commit_id_from_patch(patch)?, |
| 676 | ); | 675 | ); |
| 677 | } | 676 | } |