Re: [PATCH v2] parse-opt: migrate builtin-apply.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 27, 2008, 21:47 UTC
- Message-ID
- <7vvdt5cmu6.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1230387764-11230-1-git-send-email-vmiklos@frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 13 quoted lines
> +static int option_parse_inaccurate(const struct option *opt,
> + const char *arg, int unset)
> +{
> + options |= INACCURATE_EOF;
> + return 0;
> +}
> +
> +static int option_parse_recount(const struct option *opt,
> + const char *arg, int unset)
> +{
> + options |= RECOUNT;
> + return 0;
> +}I still haven't applied and ran the testsuite myself, but these makes me wonder if there isn't a built-in "bit" type support in parse_options().