From: Pierre Habouzit Date: Mon, 05 Jan 2009 19:12:22 GMT Subject: Re: [PATCH v2] parse-opt: migrate builtin-apply. Message-ID: <20090105191222.GA14793@artemis.corp> In-Reply-To: <7vvdt5cmu6.fsf@gitster.siamese.dyndns.org> On Sat, Dec 27, 2008 at 09:47:13PM +0000, Junio C Hamano wrote: > 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(). There is. -- ·O· Pierre Habouzit ··O madcoder@debian.org OOO http://www.madism.org