diff options
author | René Scharfe <l.s.r@web.de> | 2020-02-09 16:58:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-10 09:45:49 -0800 |
commit | 7a9f8ca805045f5d6d59227c8cce5a3e6790b0ef (patch) | |
tree | 689b2b2dfba7c9ce7fedcee728bff69edb34a5bc /contrib/credential/netrc/git-credential-netrc | |
parent | parse-options: const parse_options_concat() parameters (diff) | |
download | tgif-7a9f8ca805045f5d6d59227c8cce5a3e6790b0ef.tar.xz |
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>
Diffstat (limited to 'contrib/credential/netrc/git-credential-netrc')
0 files changed, 0 insertions, 0 deletions