Skip to content

Commit af8a3bb

Browse files
committed
Merge branch 'ds/bundle-uri-4'
Code clean-up. * ds/bundle-uri-4: test-bundle-uri: drop unused variables
2 parents b242e89 + d4e241a commit af8a3bb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

t/helper/test-bundle-uri.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ static int cmd__bundle_uri_parse(int argc, const char **argv, enum input_mode mo
7676

7777
static int cmd_ls_remote(int argc, const char **argv)
7878
{
79-
const char *uploadpack = NULL;
80-
struct string_list server_options = STRING_LIST_INIT_DUP;
8179
const char *dest;
8280
struct remote *remote;
8381
struct transport *transport;
@@ -95,11 +93,6 @@ static int cmd_ls_remote(int argc, const char **argv)
9593
die(_("remote '%s' has no configured URL"), dest);
9694

9795
transport = transport_get(remote, NULL);
98-
if (uploadpack)
99-
transport_set_option(transport, TRANS_OPT_UPLOADPACK, uploadpack);
100-
if (server_options.nr)
101-
transport->server_options = &server_options;
102-
10396
if (transport_get_remote_bundle_uri(transport) < 0) {
10497
error(_("could not get the bundle-uri list"));
10598
status = 1;

0 commit comments

Comments
 (0)