On Sat, Dec 27, 2008 at 09:47:13PM +0000, Junio C Hamano wrote: > Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> 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@xxxxxxxxxx OOO http://www.madism.org
Attachment:
pgpO60fX4QF7w.pgp
Description: PGP signature