From e2e4c9b40dd5dc97c35ac2f54767681266e06c4f Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sun, 16 May 2021 16:21:12 +0200 Subject: [PATCH] Remove the origin prefix from the fallback branch name in BuildWorker The `origin/` prefix will be added by the actual git cloner later on when `co.checkout_origin_ref` is called further down the function. --- ofborg/src/tasks/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofborg/src/tasks/build.rs b/ofborg/src/tasks/build.rs index 597d9cc5..9cf11c30 100644 --- a/ofborg/src/tasks/build.rs +++ b/ofborg/src/tasks/build.rs @@ -302,7 +302,7 @@ impl notifyworker::SimpleNotifyWorker for BuildWorker { let target_branch = match job.pr.target_branch.clone() { Some(x) => x, - None => String::from("origin/master"), + None => String::from("master"), }; let buildfile = match job.subset {