Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
[temporary, do not merge] debug radicle-remote-helper
✗ CI failure Richard Levitte committed 18 days ago
commit 4663612b5409d377e033c38b78f7d23a67b56a6e
parent 6ce2d00be237e75524cd31129be6766935736c1a
1 failed (1 total) View logs
1 file changed +8 -0
modified crates/radicle-remote-helper/src/push.rs
@@ -421,7 +421,15 @@ pub(super) fn run(

            // N.b. special case for handling the canonical ref, since it
            // creates a symlink to HEAD
+
            eprintln!(
+
                "DEBUG: considering canonical reference {}",
+
                term::format::secondary(refname)
+
            );
            if *refname == canonical_ref {
+
                eprintln!(
+
                    "DEBUG: this canonical reference is the default branch {}",
+
                    term::format::secondary(&canonical_ref)
+
                );
                stored.set_head_to_default_branch()?;
            }