Make sure git version&feature are always prepared (#30877) (#30879)

Backport #30877
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-05-07 02:07:33 +00:00
1 parent ad5a8d043c
commit d5563be0ee
28 files changed
+116 -146

No files matched your search

+1 -1
View File
@@ -698,7 +698,7 @@ func doCreateAgitFlowPull(dstPath string, ctx *APITestContext, baseBranch, headB
defer tests.PrintCurrentTest(t)()
// skip this test if git version is low
if git.CheckGitVersionAtLeast("2.29") != nil {
if !git.DefaultFeatures().SupportProcReceive {
return
}