Re: [PATCH] Turn the flags in struct dir_struct into a single variable
On Mon, Feb 16, 2009 at 01:20:25PM +0100, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 17 quoted lines
> By having flags represented as bits in the new member variable 'flags',
> it will be easier to use parse_options when dir_struct is involved.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>
> On Sun, 15 Feb 2009, Miklos Vajna wrote:
>
> > On Sun, Feb 15, 2009 at 09:13:42PM +0100, Johannes Schindelin
> > <Johannes.Schindelin@gmx.de> wrote:
> >
> > > Well, in my juvenile folly I dreamt of turning this into a proper
> > > bitfield...
> >
> > Uhm, I think I haven't got what you mean. ;-)
>
> I meant this...
Aah. That definitely makes the parseopt code shorter, thanks. :-)