Skip to content

Commit e2e4c9b

Browse files
committed
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.
1 parent 517a32a commit e2e4c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ofborg/src/tasks/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl notifyworker::SimpleNotifyWorker for BuildWorker {
302302

303303
let target_branch = match job.pr.target_branch.clone() {
304304
Some(x) => x,
305-
None => String::from("origin/master"),
305+
None => String::from("master"),
306306
};
307307

308308
let buildfile = match job.subset {

0 commit comments

Comments
 (0)