Merge branch 'ab/designated-initializers-more'
Code clean-up. * ab/designated-initializers-more: builtin/remote.c: add and use SHOW_INFO_INIT builtin/remote.c: add and use a REF_STATES_INIT urlmatch.[ch]: add and use URLMATCH_CONFIG_INIT builtin/blame.c: refactor commit_info_init() to COMMIT_INFO_INIT macro daemon.c: refactor hostinfo_init() to HOSTINFO_INIT macro
This commit is contained in:
2
http.c
2
http.c
@ -990,7 +990,7 @@ void http_init(struct remote *remote, const char *url, int proactive_auth)
|
||||
char *low_speed_limit;
|
||||
char *low_speed_time;
|
||||
char *normalized_url;
|
||||
struct urlmatch_config config = { STRING_LIST_INIT_DUP };
|
||||
struct urlmatch_config config = URLMATCH_CONFIG_INIT;
|
||||
|
||||
config.section = "http";
|
||||
config.key = NULL;
|
||||
|
||||
Reference in New Issue
Block a user