Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Improve error message for diverging heads
Lorenz Leutgeb committed 10 months ago
commit 51e903cf96f72909f153ff3d1b273c4923c3af8b
parent 807216c1c17449160ec8ee7ab2b00e9203932256
1 file changed +1 -1
modified crates/radicle-remote-helper/src/push/error.rs
@@ -118,7 +118,7 @@ pub struct Converges {

#[derive(Debug, Error)]
/// Head being pushed diverges from canonical head.
-
#[error("refusing to update branch to commit that is not a descendant of canonical head")]
+
#[error("refusing to update canonical reference to commit that is not a descendant of current canonical head")]
pub struct HeadsDiverge {
    head: git::Oid,
    canonical: git::Oid,