diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-05-13 12:19:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-13 12:19:21 -0700 |
commit | a0125885f544a670cfe5cf307a2feabba7e3bf9c (patch) | |
tree | 407fe70a48af5187722492c21f0e301e631d5a0a /t | |
parent | Merge branch 'ds/sparse-updates-oob-access-fix' (diff) | |
parent | upload-pack: clear filter_options for each v2 fetch command (diff) | |
download | tgif-a0125885f544a670cfe5cf307a2feabba7e3bf9c.tar.xz |
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')
-rwxr-xr-x | t/t5616-partial-clone.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/t/t5616-partial-clone.sh b/t/t5616-partial-clone.sh index 88002b24af..8a27452a51 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 |