aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:46 -0800
committerJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:46 -0800
commitaf8a3bb853270aae9dd0277a5f4f2b73fa1086f0 (patch)
treecb44695307b64cf171346b46ed10506bb3337ebf
parentb242e89dff9cc5c736bcf3629df9564a98ff23db (diff)
parentd4e241a14510934420aa67c5480361376446e117 (diff)
downloadgit-af8a3bb853270aae9dd0277a5f4f2b73fa1086f0.tar.xz
Merge branch 'ds/bundle-uri-4'
Code clean-up. * ds/bundle-uri-4: test-bundle-uri: drop unused variables
-rw-r--r--t/helper/test-bundle-uri.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/t/helper/test-bundle-uri.c b/t/helper/test-bundle-uri.c
index 5df5bc3b89..b18e760310 100644
--- a/t/helper/test-bundle-uri.c
+++ b/t/helper/test-bundle-uri.c
@@ -76,8 +76,6 @@ usage:
static int cmd_ls_remote(int argc, const char **argv)
{
- const char *uploadpack = NULL;
- struct string_list server_options = STRING_LIST_INIT_DUP;
const char *dest;
struct remote *remote;
struct transport *transport;
@@ -95,11 +93,6 @@ static int cmd_ls_remote(int argc, const char **argv)
die(_("remote '%s' has no configured URL"), dest);
transport = transport_get(remote, NULL);
- if (uploadpack)
- transport_set_option(transport, TRANS_OPT_UPLOADPACK, uploadpack);
- if (server_options.nr)
- transport->server_options = &server_options;
-
if (transport_get_remote_bundle_uri(transport) < 0) {
error(_("could not get the bundle-uri list"));
status = 1;