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

Re: [PATCH v2] parse-opt: migrate builtin-checkout-index.

From
Pierre Habouzit <madcoder@debian.org>
Date
Oct 18, 2008, 15:54 UTC
Message-ID
<20081018155436.GA4803@artemis>
In-Reply-To
<7v63nqg4f4.fsf@gitster.siamese.dyndns.org>
On Fri, Oct 17, 2008 at 11:58:23PM +0000, Junio C Hamano wrote:
Show 15 quoted lines
> Miklos Vajna <vmiklos@frugalware.org> writes:
> 
> > +static int option_parse_z(const struct option *opt,
> > +			  const char *arg, int unset)
> > +{
> > +	line_termination = unset;
> > +	return 0;
> > +}
> > ...
> > +		{ OPTION_CALLBACK, 'z', NULL, NULL, NULL,
> > +			"paths are separated with NUL character",
> > +			PARSE_OPT_NOARG, option_parse_z },
> 
> This adds a new feature to say --no-z from the command line, doesn't it?
> And I suspect the feature is broken ;-).
No it doesn't, --no-foo is only active for long options.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Junio C Hamano
Message 9 of 9 in “parse-opt: migrate builtin-checkout-index.”
  1. parse-opt: migrate builtin-checkout-index.Miklos Vajna, Oct 15, 2008
  2. Pierre HabouzitOct 16, 2008
  3. parse-opt: migrate builtin-checkout-index.Miklos Vajna, Oct 16, 2008
  4. Junio C HamanoOct 17, 2008
  5. parse-opt: migrate builtin-checkout-index.Miklos Vajna, Oct 18, 2008
  6. Raphael ZimmererOct 19, 2008
  7. Pierre HabouzitOct 19, 2008
  8. Junio C HamanoOct 19, 2008
  9. Pierre HabouzitOct 18, 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.