From: Junio C Hamano Date: Sat, 27 Dec 2008 21:47:13 GMT Subject: Re: [PATCH v2] parse-opt: migrate builtin-apply. Message-ID: <7vvdt5cmu6.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1230387764-11230-1-git-send-email-vmiklos@frugalware.org> Miklos Vajna writes: > +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().