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 98c8aa722d201abedc52dd22aab7dce000e7dfa3
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
+
            output.push(format!(
+
                "DEBUG: considering canonical reference {}",
+
                term::format::secondary(refname)
+
            ));
            if *refname == canonical_ref {
+
                output.push(format!(
+
                    "DEBUG: this canonical reference is the default branch {}",
+
                    term::format::secondary(&canonical_ref)
+
                ));
                stored.set_head_to_default_branch()?;
            }