git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] parse-opt: bring PARSE_OPT_HIDDEN to git-rev-parse --parseopt

From
Pierre Habouzit <madcoder@debian.org>
Date
Feb 24, 2008, 08:49 UTC
Message-ID
<20080224084953.GA7623@artemis.madism.org>
In-Reply-To
<7vbq66ycct.fsf@gitster.siamese.dyndns.org>
On Sun, Feb 24, 2008 at 08:42:26AM +0000, Junio C Hamano wrote:
Show 12 quoted lines
> Pierre Habouzit <madcoder@debian.org> writes:
> 
> >       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 ^=.
  oooh boy of course it's a |=...
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Junio C Hamano
Message 7 of 7 in “Improve documentation for git-sh-setup.”
  1. Improve documentation for git-sh-setup.Yann Dirson, Feb 21, 2008
  2. Pierre HabouzitFeb 22, 2008
  3. Junio C HamanoFeb 22, 2008
  4. Pierre HabouzitFeb 22, 2008
  5. parse-opt: bring PARSE_OPT_HIDDEN to git-rev-parse --parseoptPierre Habouzit, Feb 23, 2008
  6. Junio C HamanoFeb 24, 2008
  7. Pierre HabouzitFeb 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.