summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-02-09 16:56:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-10 09:43:25 -0800
commitf904f9025f070b17a440d019b53e1d70fca3a269 (patch)
tree8d396433abd3d08995c6e8e736621c13ceb994a4 /wt-status.h
parentparse-options: use COPY_ARRAY in parse_options_concat() (diff)
downloadtgif-f904f9025f070b17a440d019b53e1d70fca3a269.tar.xz
parse-options: factor out parse_options_count()
Add a helper function to count the number of options (excluding the final OPT_END()) and use it to simplify parse_options_dup() and parse_options_concat(). Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
0 files changed, 0 insertions, 0 deletions