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

Re: [PATCH v4] grep: Add --max-depth option.

From
Stephen Boyd <bebarino@gmail.com>
Date
Jul 23, 2009, 06:11 UTC
Message-ID
<4A67FF15.7080703@gmail.com>
In-Reply-To
<1248285135-9033-1-git-send-email-michal.kiedrowicz@gmail.com>

This looks good now. Just one minor point but I don't think it requires a resend.

Michał Kiedrowicz wrote:
>
> +		{ OPTION_INTEGER, 0, "max-depth", &opt.max_depth, "depth",
> +			"descend at most <depth> levels", PARSE_OPT_NONEG,
> +			NULL, 1 },

This NULL and 1 are not needed unless you're using PARSE_OPT_OPTARG. I think this last line can be safely removed.

Previous: Junio C Hamano
Message 3 of 3 in “grep: Add --max-depth option.”
  1. grep: Add --max-depth option.Michał Kiedrowicz, Jul 22, 2009
  2. Junio C HamanoJul 22, 2009
  3. Stephen BoydJul 23, 2009

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.