diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-10-06 13:40:13 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-10-06 13:40:13 -0700 |
| commit | 7ca97f5222f43bf9ad4a7bb45505da4e15eac4be (patch) | |
| tree | 646dac2875f2ddfcf0aa4925efa86640ac4ad9f2 /remote-curl.c | |
| parent | 870de59af079cca5a7d99397f2fc02ab7143d491 (diff) | |
| parent | abf897bacd2d36b9dbd07c70b4a2f97a084704ee (diff) | |
| download | git-7ca97f5222f43bf9ad4a7bb45505da4e15eac4be.tar.gz | |
Merge branch 'ab/retire-string-list-init'
Code cleanup.
* ab/retire-string-list-init:
string-list.[ch]: remove string_list_init() compatibility function
Diffstat (limited to 'remote-curl.c')
| -rw-r--r-- | remote-curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote-curl.c b/remote-curl.c index 598cff7cde..3f5688e426 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -1478,8 +1478,8 @@ int cmd_main(int argc, const char **argv) options.verbosity = 1; options.progress = !!isatty(2); options.thin = 1; - string_list_init(&options.deepen_not, 1); - string_list_init(&options.push_options, 1); + string_list_init_dup(&options.deepen_not); + string_list_init_dup(&options.push_options); /* * Just report "remote-curl" here (folding all the various aliases |
