summaryrefslogtreecommitdiff
path: root/t/t5616-partial-clone.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-05-13 19:19:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-13 19:19:21 (GMT)
commita0125885f544a670cfe5cf307a2feabba7e3bf9c (patch)
tree407fe70a48af5187722492c21f0e301e631d5a0a /t/t5616-partial-clone.sh
parentce1adb11571f3196afa07642fdda37b6bbbc5aa4 (diff)
parent08450ef7918ef2f24bc3bf6afcd1782aa0677015 (diff)
downloadgit-a0125885f544a670cfe5cf307a2feabba7e3bf9c.zip
git-a0125885f544a670cfe5cf307a2feabba7e3bf9c.tar.gz
git-a0125885f544a670cfe5cf307a2feabba7e3bf9c.tar.bz2
Merge branch 'cc/upload-pack-v2-fetch-fix'
Serving a "git fetch" client over "git://" and "ssh://" protocols using the on-wire protocol version 2 was buggy on the server end when the client needs to make a follow-up request to e.g. auto-follow tags. * cc/upload-pack-v2-fetch-fix: upload-pack: clear filter_options for each v2 fetch command
Diffstat (limited to 't/t5616-partial-clone.sh')
-rwxr-xr-xt/t5616-partial-clone.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/t/t5616-partial-clone.sh b/t/t5616-partial-clone.sh
index 88002b2..8a27452 100755
--- a/t/t5616-partial-clone.sh
+++ b/t/t5616-partial-clone.sh
@@ -384,12 +384,11 @@ test_expect_success 'fetch lazy-fetches only to resolve deltas, protocol v2' '
grep "want $(cat hash)" trace
'
-# The following two tests must be in this order, or else
-# the first will not fail. It is important that the srv.bare
-# repository did not have tags during clone, but has tags
+# The following two tests must be in this order. It is important that
+# the srv.bare repository did not have tags during clone, but has tags
# in the fetch.
-test_expect_failure 'verify fetch succeeds when asking for new tags' '
+test_expect_success 'verify fetch succeeds when asking for new tags' '
git clone --filter=blob:none "file://$(pwd)/srv.bare" tag-test &&
for i in I J K
do