From 2b3ee000c596ff27d24415cb498e1fc3439d2249 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Nov 2018 00:26:19 +0300 Subject: Fix minimum supported git version raising it to 2.14.0 from 2.12.0 Prior to 2.14.0 the git-fetch command doesn't accept commit id as a refspec which we rely upon. --- tests/remote-git.testscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/remote-git.testscript b/tests/remote-git.testscript index 6724473..2ce0fa0 100644 --- a/tests/remote-git.testscript +++ b/tests/remote-git.testscript @@ -11,7 +11,8 @@ # contain repositories produced) are not cleaned up. # -# Check that git version is the minimum supported one (2.12.0) or above. +# Check that git version is the minimum supported one (2.14.0) or above (see +# bpkg/fetch-git.cxx for details). # +git --version | set git_version_out @@ -29,7 +30,7 @@ end # repository-related tests. # git_supported = ($git_version_major > 2 || \ - $git_version_major == 2 && $git_version_minor >= 12) + $git_version_major == 2 && $git_version_minor >= 14) # Output directory path that testscripts must use to prepare repositories # required by tests they contain. -- cgit v1.1