Re: [PATCH] parse-opt: bring PARSE_OPT_HIDDEN to git-rev-parse --parseopt
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 24, 2008, 08:42 UTC
- Message-ID
- <7vbq66ycct.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080223140926.GD10967@artemis.madism.org>
Pierre Habouzit <madcoder@debian.org> writes:
Show 7 quoted lines
> I also made the parsing more extensible wrt new flags if needed. > > We should definitely write tests too. > ... > + case '*': > + o->flags &= PARSE_OPT_HIDDEN; > + break;
I have a slight suspicion that this is not what you meant. You probably meant either |= or perhaps ^=.