From: Johannes Schindelin Date: Sun, 15 Feb 2009 20:13:42 GMT Subject: Re: [PATCH] parse-opt: migrate builtin-ls-files. Message-ID: In-Reply-To: <1234727647-18523-1-git-send-email-vmiklos@frugalware.org> Hi, On Sun, 15 Feb 2009, Miklos Vajna wrote: > On Sat, Feb 14, 2009 at 09:56:04PM +0100, Johannes Schindelin wrote: > > > > On Thu, 8 Jan 2009, Miklos Vajna wrote: > > > > > +static int option_parse_ignored(const struct option *opt, > > > + const char *arg, int unset) > > > +{ > > > + struct dir_struct *dir = opt->value; > > > + > > > + dir->show_ignored = !unset; > > > + > > > + return 0; > > > +} > > > > Maybe this wants to be converted into an OPTION_BIT compatible data > > type? > > I think that's not possible, as show_ignored is a bitfield. Well, in my juvenile folly I dreamt of turning this into a proper bitfield... Ciao, Dscho