parse-options: add OPT_STRING_LIST helper
authorJeff King <redacted>
Thu, 9 Jun 2011 15:55:23 +0000 (11:55 -0400)
committerJunio C Hamano <redacted>
Wed, 22 Jun 2011 18:25:20 +0000 (11:25 -0700)
commitc8ba163916554e9ffd3ce8cb2beeff003d90c0c3
treeae035aa6494b6b852d3ddf4e2989a35900a6f0dc
parentf77bccaeba7a4c542e9b89d144af74bddd36fd08
parse-options: add OPT_STRING_LIST helper

This just adds repeated invocations of an option to a list
of strings. Using the "--no-<var>" form will reset the list
to empty.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
parse-options.c
parse-options.h
t/t0040-parse-options.sh
test-parse-options.c
git clone https://git.99rst.org/PROJECT