parse-options: simplify parse_options_dup()
authorRené Scharfe <redacted>
Sun, 9 Feb 2020 15:58:42 +0000 (16:58 +0100)
committerJunio C Hamano <redacted>
Mon, 10 Feb 2020 17:45:49 +0000 (09:45 -0800)
commit7a9f8ca805045f5d6d59227c8cce5a3e6790b0ef
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
parse-options-cb.c
git clone https://git.99rst.org/PROJECT