parse-options: simplify parse_options_dup()
commit7a9f8ca805045f5d6d59227c8cce5a3e6790b0ef
authorRené Scharfe <l.s.r@web.de>
Sun, 9 Feb 2020 15:58:42 +0000 (9 16:58 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2020 17:45:49 +0000 (10 09:45 -0800)
tree689b2b2dfba7c9ce7fedcee728bff69edb34a5bc
parentc84078573e9dc4b817d8270268583251eed7cff9
parse-options: simplify parse_options_dup()

Simplify parse_options_dup() by making it a trivial wrapper of
parse_options_concat() by making use of the facts that the latter
duplicates its input as well and that appending an empty set is a no-op.

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