Re: [PATCH] parse-opt: migrate builtin-ls-files.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 15, 2009, 20:13 UTC
- Message-ID
- <alpine.DEB.1.00.0902152108370.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <1234727647-18523-1-git-send-email-vmiklos@frugalware.org>
Hi,
On Sun, 15 Feb 2009, Miklos Vajna wrote:
Show 18 quoted lines
> On Sat, Feb 14, 2009 at 09:56:04PM +0100, Johannes Schindelin <Johannes.Schindelin@gmx.de> 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