aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch-git-refname.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-20 13:16:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-21 18:39:22 +0300
commitf2569bd8b6cff7f17ae71035cc3d4e86b2fc0cc4 (patch)
tree007f39f3a557c21a35ffb4fee586c1d9b4669810 /tests/rep-fetch-git-refname.testscript
parent8bf1ad21e235017f80c1fb4566a051895a0cd85b (diff)
Adapt rep-fetch tests to full support of git versions prior to 2.14
Diffstat (limited to 'tests/rep-fetch-git-refname.testscript')
-rw-r--r--tests/rep-fetch-git-refname.testscript6
1 files changed, 3 insertions, 3 deletions
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";