summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-25 13:40:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-25 21:05:37 (GMT)
commitfa3d1b63e866d6b893934ab69da10b4516150cdc (patch)
tree1c2d2ea0f162fb34e10a9c46f97897768e029e97 /t/t5601-clone.sh
parentb14ed5adaf87c5943433fd6b1d2cbe8c060f9264 (diff)
downloadgit-fa3d1b63e866d6b893934ab69da10b4516150cdc.zip
git-fa3d1b63e866d6b893934ab69da10b4516150cdc.tar.gz
git-fa3d1b63e866d6b893934ab69da10b4516150cdc.tar.bz2
promisor-remote: parse remote.*.partialclonefilter
This makes it possible to specify a different partial clone filter for each promisor remote. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5601-clone.sh')
-rwxr-xr-xt/t5601-clone.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index 534d03a..078cf48 100755
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
@@ -655,6 +655,7 @@ partial_clone () {
# Ensure that unneeded blobs are not inadvertently fetched.
test_config -C client remote.origin.promisor "false" &&
+ git -C client config --unset remote.origin.partialclonefilter &&
test_must_fail git -C client cat-file -e "$HASH1" &&
# But this blob was fetched, because clone performs an initial checkout