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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 27, 2008, 21:47 UTC
Message-ID
<7vvdt5cmu6.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1230387764-11230-1-git-send-email-vmiklos@frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 13 quoted lines
> +static int option_parse_inaccurate(const struct option *opt,
> +				   const char *arg, int unset)
> +{
> +	options |= INACCURATE_EOF;
> +	return 0;
> +}
> +
> +static int option_parse_recount(const struct option *opt,
> +				const char *arg, int unset)
> +{
> +	options |= RECOUNT;
> +	return 0;
> +}

I still haven't applied and ran the testsuite myself, but these makes me wonder if there isn't a built-in "bit" type support in parse_options().

Previous: Miklos VajnaNext: Pierre Habouzit
Message 5 of 10 in “parse-opt: migrate builtin-apply.”
  1. parse-opt: migrate builtin-apply.Miklos Vajna, Dec 27, 2008
  2. Junio C HamanoDec 27, 2008
  3. Miklos VajnaDec 27, 2008
  4. parse-opt: migrate builtin-apply.Miklos Vajna, Dec 27, 2008
  5. Junio C HamanoDec 27, 2008
  6. Pierre HabouzitJan 5, 2009
  7. Miklos VajnaJan 5, 2009
  8. René ScharfeDec 27, 2008
  9. parse-opt: migrate builtin-apply.Miklos Vajna, Dec 27, 2008
  10. Jacob HelwigDec 28, 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.