4bf4d61aca5646d262b449ae0b6a5ac483103847 blob 641 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| | #!/bin/sh
test_description='test git wire-protocol version 2'
TEST_NO_CREATE_REPO=1
. ./test-lib.sh
# Test protocol v2 with 'file://' transport
#
test_expect_success 'create repo to be served by file:// transport' '
git init file_parent &&
test_commit -C file_parent one
'
test_expect_success 'list refs with file:// using protocol v2' '
GIT_TRACE_PACKET=1 git -c protocol.version=2 \
ls-remote --symref "file://$(pwd)/file_parent" >actual 2>log &&
# Server responded using protocol v2
cat log &&
grep "git< version 2" log &&
git ls-remote --symref "file://$(pwd)/file_parent" >expect &&
test_cmp actual expect
'
test_done
|
debug log:
solving 4bf4d61ac ...
found 4bf4d61ac in https://public-inbox.org/git/20180125235838.138135-15-bmwill@google.com/
applying [1/1] https://public-inbox.org/git/20180125235838.138135-15-bmwill@google.com/
diff --git a/t/t5702-protocol-v2.sh b/t/t5702-protocol-v2.sh
new file mode 100755
index 000000000..4bf4d61ac
Checking patch t/t5702-protocol-v2.sh...
Applied patch t/t5702-protocol-v2.sh cleanly.
index at:
100755 4bf4d61aca5646d262b449ae0b6a5ac483103847 t/t5702-protocol-v2.sh
Code repositories for project(s) associated with this inbox:
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).