From f2569bd8b6cff7f17ae71035cc3d4e86b2fc0cc4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 20 Jun 2019 13:16:52 +0300 Subject: Adapt rep-fetch tests to full support of git versions prior to 2.14 --- tests/rep-fetch-git-refname.testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/rep-fetch-git-refname.testscript') diff --git a/tests/rep-fetch-git-refname.testscript b/tests/rep-fetch-git-refname.testscript index 37fdcba..7bf52ee 100644 --- a/tests/rep-fetch-git-refname.testscript +++ b/tests/rep-fetch-git-refname.testscript @@ -39,7 +39,6 @@ : changed : - if ($git_fully_supported || $git_protocol != 'https-smart-unadv') { g = git -C u = "$rep_git/state1" @@ -66,8 +65,10 @@ if ($git_protocol == 'local' || \ $git_protocol == 'https-smart' || \ + $git_protocol == 'git' || \ + $git_protocol == 'git-unadv' || \ $git_protocol == 'ssh' || \ - $git_protocol == 'git') + $git_protocol == 'ssh-unadv') warn2 = "$warn_repo_hist for submodule 'doc/style/basic'$reason_unadv" elif ($git_protocol == 'https-dumb') warn1 = "$warn_ref_hist for submodule 'doc/style'$reason_dumb$warn_dumb" @@ -164,7 +165,6 @@ : no-progress : - if ($git_fully_supported || $git_protocol != 'https-smart-unadv') { $clone_root_cfg && $rep_add "$rep/state0/libfoo.git$fragment"; -- cgit v1.1