Merge branch 'xx/remote-server-option-config'
A new configuration variable remote.<name>.serverOption makes the
transport layer act as if the --serverOption=<value> option is
given from the command line.
* xx/remote-server-option-config:
ls-remote: leakfix for not clearing server_options
fetch: respect --server-option when fetching multiple remotes
transport.c:🤝 make use of server options from remote
remote: introduce remote.<name>.serverOption configuration
transport: introduce parse_transport_option() method
This commit is contained in:
3
remote.h
3
remote.h
@@ -4,6 +4,7 @@
|
||||
#include "hash.h"
|
||||
#include "hashmap.h"
|
||||
#include "refspec.h"
|
||||
#include "string-list.h"
|
||||
#include "strvec.h"
|
||||
|
||||
struct option;
|
||||
@@ -104,6 +105,8 @@ struct remote {
|
||||
|
||||
/* The method used for authenticating against `http_proxy`. */
|
||||
char *http_proxy_authmethod;
|
||||
|
||||
struct string_list server_options;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user