/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
transport: do not list refs if possible
[git/git.git]
/
t
/
t5702-protocol-v2.sh
diff --git
a/t/t5702-protocol-v2.sh
b/t/t5702-protocol-v2.sh
index
3beeed4
..
e32b5b4
100755
(executable)
--- a/
t/t5702-protocol-v2.sh
+++ b/
t/t5702-protocol-v2.sh
@@
-286,6
+286,10
@@
test_expect_success 'dynamically fetch missing object' '
grep "version 2" trace
'
+test_expect_success 'when dynamically fetching missing object, do not list refs' '
+ ! grep "git> command=ls-refs" trace
+'
+
test_expect_success 'partial fetch' '
rm -rf client "$(pwd)/trace" &&
git init client &&