@@ -38,16 +38,6 @@ int option_parse_push_signed(const struct option *opt,
38
38
die ("bad %s argument: %s" , opt -> long_name , arg );
39
39
}
40
40
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
-
51
41
static void feed_object (const struct object_id * oid , FILE * fh , int negative )
52
42
{
53
43
if (negative && !has_object_file (oid ))
@@ -400,16 +390,14 @@ int send_pack(struct send_pack_args *args,
400
390
const char * push_cert_nonce = NULL ;
401
391
struct packet_reader reader ;
402
392
403
- git_config (send_pack_config , NULL );
404
-
405
393
/* Does the other end support the reporting? */
406
394
if (server_supports ("report-status" ))
407
395
status_report = 1 ;
408
396
if (server_supports ("delete-refs" ))
409
397
allow_deleting_refs = 1 ;
410
398
if (server_supports ("ofs-delta" ))
411
399
args -> use_ofs_delta = 1 ;
412
- if (config_use_sideband && server_supports ("side-band-64k" ))
400
+ if (server_supports ("side-band-64k" ))
413
401
use_sideband = 1 ;
414
402
if (server_supports ("quiet" ))
415
403
quiet_supported = 1 ;
0 commit comments