From: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> Create get and set routines for partial clone settings in the config. These will be used by partial clone and fetch to remember the promisor remote and the default filter-spec. Signed-off-by: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> --- t/t5500-fetch-pack.sh | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/t/t5500-fetch-pack.sh b/t/t5500-fetch-pack.sh index c57916b..80a1a32 100755 --- a/t/t5500-fetch-pack.sh +++ b/t/t5500-fetch-pack.sh @@ -755,31 +755,4 @@ test_expect_success 'fetching deepen' ' ) ' -test_expect_success 'filtering by size' ' - rm -rf server client && - test_create_repo server && - test_commit -C server one && - test_config -C server uploadpack.allowfilter 1 && - - test_create_repo client && - git -C client fetch-pack --filter=blob:limit=0 ../server HEAD && - - # Ensure that object is not inadvertently fetched - test_must_fail git -C client cat-file -e $(git hash-object server/one.t) -' - -test_expect_success 'filtering by size has no effect if support for it is not advertised' ' - rm -rf server client && - test_create_repo server && - test_commit -C server one && - - test_create_repo client && - git -C client fetch-pack --filter=blob:limit=0 ../server HEAD 2> err && - - # Ensure that object is fetched - git -C client cat-file -e $(git hash-object server/one.t) && - - test_i18ngrep "filtering not recognized by server" err -' - test_done -- 2.9.3