parse-options: use COPY_ARRAY in parse_options_concat()
commita277d0a67f0324deb58abbeb0c5a2b3abbcde340
authorRené Scharfe <l.s.r@web.de>
Sun, 9 Feb 2020 15:55:54 +0000 (9 16:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2020 17:42:43 +0000 (10 09:42 -0800)
tree1d5ddfb6936780d3b99e925c598d523cf82232d3
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
parse-options: use COPY_ARRAY in parse_options_concat()

Use COPY_ARRAY to copy whole arrays instead of iterating through the
elements.  That's shorter, simpler and bit more efficient.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options-cb.c