From ef766cd7419cd6574f2bc8df4b866b93bc12bcb1 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 17 Nov 2025 09:23:30 +0100 Subject: syz-cluster: preserve branches when cloning a repo Remap remote branches to local ones both when polling remote repositories and when cloning the distributed repository. This will ensure that the branches are still accessible via TreeName/BranchName (it got broken during the latest changes). --- syz-cluster/workflow/triage-step/workflow-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-cluster/workflow/triage-step') diff --git a/syz-cluster/workflow/triage-step/workflow-template.yaml b/syz-cluster/workflow/triage-step/workflow-template.yaml index fea06deb8..35a163bdd 100644 --- a/syz-cluster/workflow/triage-step/workflow-template.yaml +++ b/syz-cluster/workflow/triage-step/workflow-template.yaml @@ -23,7 +23,7 @@ spec: - sh - -c - | - git clone --reference /kernel-repo /kernel-repo /workdir + git clone --reference /kernel-repo -c remote.origin.fetch="+refs/heads/*:refs/heads/*" /kernel-repo /workdir env: - name: GIT_DISCOVERY_ACROSS_FILESYSTEM value: "1" -- cgit mrf-deployment