diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-19 01:47:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-19 01:47:57 +0300 |
commit | a4b9fb6a5cf1f7cf015b3d114b364730f6b74ead (patch) | |
tree | 57894534a4cc6831845cee4ae411dd6274245ee0 /http.c | |
parent | 0b69bb0fb1ebe1a9ab7a3f4bfde5cad82eb892e3 (diff) | |
parent | 0000e81811bcbdc44339d03ae772650b98c26ed9 (diff) |
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
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |