From 93c5849c86a67b6d6e8bd7b984a3642d43095bf8 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Wed, 9 Jul 2025 11:28:32 +0200 Subject: [PATCH] Remove obsolete git version restrictions --- pkg/integration/tests/config/negative_refspec.go | 1 - pkg/integration/tests/patch_building/move_to_earlier_commit.go | 1 - .../tests/patch_building/move_to_new_commit_before.go | 1 - 3 files changed, 3 deletions(-) diff --git a/pkg/integration/tests/config/negative_refspec.go b/pkg/integration/tests/config/negative_refspec.go index 0859722f4..46148a713 100644 --- a/pkg/integration/tests/config/negative_refspec.go +++ b/pkg/integration/tests/config/negative_refspec.go @@ -8,7 +8,6 @@ import ( var NegativeRefspec = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Having a config with a negative refspec", ExtraCmdArgs: []string{}, - GitVersion: AtLeast("2.29.0"), SetupRepo: func(shell *Shell) { shell. SetConfig("remote.origin.fetch", "^refs/heads/test"). diff --git a/pkg/integration/tests/patch_building/move_to_earlier_commit.go b/pkg/integration/tests/patch_building/move_to_earlier_commit.go index c7916c0a6..0c5e60f35 100644 --- a/pkg/integration/tests/patch_building/move_to_earlier_commit.go +++ b/pkg/integration/tests/patch_building/move_to_earlier_commit.go @@ -9,7 +9,6 @@ var MoveToEarlierCommit = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Move a patch from a commit to an earlier commit", ExtraCmdArgs: []string{}, Skip: false, - GitVersion: AtLeast("2.26.0"), SetupConfig: func(config *config.AppConfig) {}, SetupRepo: func(shell *Shell) { shell.CreateDir("dir") diff --git a/pkg/integration/tests/patch_building/move_to_new_commit_before.go b/pkg/integration/tests/patch_building/move_to_new_commit_before.go index 79964519e..41e59d5b0 100644 --- a/pkg/integration/tests/patch_building/move_to_new_commit_before.go +++ b/pkg/integration/tests/patch_building/move_to_new_commit_before.go @@ -9,7 +9,6 @@ var MoveToNewCommitBefore = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Move a patch from a commit to a new commit before the original one", ExtraCmdArgs: []string{}, Skip: false, - GitVersion: AtLeast("2.26.0"), SetupConfig: func(config *config.AppConfig) {}, SetupRepo: func(shell *Shell) { shell.CreateDir("dir")