diff --git a/src/run.rs b/src/run.rs index a61b1f6..350d333 100644 --- a/src/run.rs +++ b/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(()) }