diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-11-17 09:23:30 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-11-17 09:27:59 +0000 |
| commit | ef766cd7419cd6574f2bc8df4b866b93bc12bcb1 (patch) | |
| tree | 588def2aa3df8cf5d99cc8575239f635d67f4b70 /syz-cluster/workflow/triage-step | |
| parent | 9360eb0491f5390a374294b434c37203fefbc177 (diff) | |
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).
Diffstat (limited to 'syz-cluster/workflow/triage-step')
| -rw-r--r-- | syz-cluster/workflow/triage-step/workflow-template.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
