aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/triage/git.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-11-25 14:46:21 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-11-26 11:31:15 +0000
commit951f29f3fa85dd9109f4856608a4a18949f67776 (patch)
tree09f5e6d8f84e0f2a9a5d2cd84ba029811a423a6a /syz-cluster/pkg/triage/git.go
parent7fd3eae17beda566d0838b6b6fedf5fedc91c2ee (diff)
syz-cluster: don't use custom git tree tags
Since remote branches are already mapped to "tree/name" local branches, there's no need for the special "tree-HEAD" tag anymore. Simplify the code.
Diffstat (limited to 'syz-cluster/pkg/triage/git.go')
-rw-r--r--syz-cluster/pkg/triage/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/pkg/triage/git.go b/syz-cluster/pkg/triage/git.go
index 7eab776c9..390bd11b1 100644
--- a/syz-cluster/pkg/triage/git.go
+++ b/syz-cluster/pkg/triage/git.go
@@ -30,7 +30,7 @@ func NewGitTreeOps(dir string, sandbox bool) (*GitTreeOps, error) {
func (ops *GitTreeOps) HeadCommit(tree *api.Tree) (*vcs.Commit, error) {
// See kernel-disk/cron.yaml.
- return ops.Git.Commit(tree.Name + "-head")
+ return ops.Git.Commit(tree.Name + "/" + tree.Branch)
}
func (ops *GitTreeOps) Commit(treeName, commitOrBranch string) (*vcs.Commit, error) {