aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/git_test_util.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-10-29 10:33:41 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-10-29 18:02:20 +0100
commit5fa26ec9b5e628709d1cc0217a0c5e0a43590191 (patch)
treec254e9e5d3e73e99be8f385a3ae800d58c09f5f7 /pkg/vcs/git_test_util.go
parent1c1aefffdaaaea2acc1c36145b0a26c4593a2a41 (diff)
tools/syz-kconf: detect -rcN tags
We currently detect v5.10-rc1 as v5.9 because we ignore -rc tags. This makes it impossible to enable configs that were already added for v5.10. Treat v5.10-rc1 as v5.10 already.
Diffstat (limited to 'pkg/vcs/git_test_util.go')
-rw-r--r--pkg/vcs/git_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vcs/git_test_util.go b/pkg/vcs/git_test_util.go
index a1dbf0dd9..3d3de8907 100644
--- a/pkg/vcs/git_test_util.go
+++ b/pkg/vcs/git_test_util.go
@@ -90,7 +90,7 @@ func (repo *TestRepo) SetTag(tag string) {
func (repo *TestRepo) SupportsBisection() bool {
// Detect too old git binary. --no-contains appeared in git 2.13.
- _, err := repo.repo.previousReleaseTags("HEAD", true, false)
+ _, err := repo.repo.previousReleaseTags("HEAD", true, false, false)
return err == nil ||
!strings.Contains(err.Error(), "usage: git tag") &&
!strings.Contains(err.Error(), "error: unknown option")