From 0260aa1cea2743a40c323ce1934ee108cdabc59c Mon Sep 17 00:00:00 2001 From: Artturin Date: Fri, 2 Dec 2022 22:38:38 +0200 Subject: [PATCH] clone: force checkout cole-h > Somehow, some evaluators have had dirty git checkouts, causing them to continually crash. --- ofborg/src/clone.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ofborg/src/clone.rs b/ofborg/src/clone.rs index c143c26..ee10a90 100644 --- a/ofborg/src/clone.rs +++ b/ofborg/src/clone.rs @@ -148,6 +148,8 @@ pub trait GitClonable { debug!("git checkout {:?}", git_ref); let result = Command::new("git") .arg("checkout") + // we don't care if its dirty + .arg("--force") .arg(git_ref) .current_dir(self.clone_to()) .stdout(Stdio::null())