Radish alpha
r
Radicle CI adapter for native CI
Radicle
Git (anonymous pull)
Log in to clone via SSH
feat: turn of advice about detached head
Lars Wirzenius committed 2 years ago
commit 8c74e710b21893ee85d36ac876642bf29b1bfe63
parent 332cf7eea726fba20c9a751a533a9f219afc2553
1 file changed +1 -0
modified src/run.rs
@@ -176,6 +176,7 @@ impl Run {
    }

    fn git_checkout(&mut self, commit: Oid, src: &Path) -> Result<(), RunError> {
+
        self.runcmd(&["git", "config", "advice.detachedHead", "false"], src)?;
        self.runcmd(&["git", "checkout", &commit.to_string()], src)?;
        Ok(())
    }