upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/git/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/git/mod.rs')
-rw-r--r--src/lib/git/mod.rs5
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 }