@@ -38,16 +38,6 @@ int option_parse_push_signed(const struct option *opt,
3838 die ("bad %s argument: %s" , opt -> long_name , arg );
3939}
4040
41- static int config_use_sideband = 1 ;
42-
43- static int send_pack_config (const char * var , const char * value , void * unused )
44- {
45- if (!strcmp ("sendpack.sideband" , var ))
46- config_use_sideband = git_config_bool (var , value );
47-
48- return 0 ;
49- }
50-
5141static void feed_object (const struct object_id * oid , FILE * fh , int negative )
5242{
5343 if (negative && !has_object_file (oid ))
@@ -400,16 +390,14 @@ int send_pack(struct send_pack_args *args,
400390 const char * push_cert_nonce = NULL ;
401391 struct packet_reader reader ;
402392
403- git_config (send_pack_config , NULL );
404-
405393 /* Does the other end support the reporting? */
406394 if (server_supports ("report-status" ))
407395 status_report = 1 ;
408396 if (server_supports ("delete-refs" ))
409397 allow_deleting_refs = 1 ;
410398 if (server_supports ("ofs-delta" ))
411399 args -> use_ofs_delta = 1 ;
412- if (config_use_sideband && server_supports ("side-band-64k" ))
400+ if (server_supports ("side-band-64k" ))
413401 use_sideband = 1 ;
414402 if (server_supports ("quiet" ))
415403 quiet_supported = 1 ;
0 commit comments