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

Re: [PATCHv4 2/2] submodule: port init from shell to C

From
Duy Nguyen <pclouds@gmail.com>
Date
Feb 27, 2016, 08:30 UTC
Message-ID
<CACsJy8C7t9LEVaEqS9GRQ3oYmXwRp33=qOo-+4R4urHco25bAA@mail.gmail.com>
In-Reply-To
<1453948237-9860-3-git-send-email-sbeller@google.com>
On Thu, Jan 28, 2016 at 9:30 AM, Stefan Beller <sbeller@google.com> wrote:
Show 14 quoted lines
> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
> index 13583d9..689c354 100644
> --- a/builtin/submodule--helper.c
> +++ b/builtin/submodule--helper.c
> +static int module_init(int argc, const char **argv, const char *prefix)
> +{
> +       int quiet = 0;
> +       int i;
> +
> +       struct option module_init_options[] = {
> +               OPT_STRING(0, "prefix", &prefix,
> +                          N_("path"),
> +                          N_("alternative anchor for relative paths")),
> +               OPT__QUIET(&quiet, "Suppress output for initialzing a submodule"),

I think we need N_() around this "Suppress..." string. By the way, typo in "initializing"

-- 
Duy
Previous: Stefan Beller
Message 10 of 10 in “[PATCHv3 0/2] Port `git submodule init` from shell to C”
  1. Stefan BellerJan 22, 2016
  2. 1/2 submodule: port resolve_relative_url from shell to CStefan Beller, Jan 22, 2016
  3. 2/2 submodule: port init from shell to CStefan Beller, Jan 22, 2016
  4. Junio C HamanoJan 25, 2016
  5. 0/2 Port `git submodule init` from shell to CStefan Beller, Jan 28, 2016
  6. 1/2 submodule: port resolve_relative_url from shell to CStefan Beller, Jan 28, 2016
  7. Junio C HamanoJan 28, 2016
  8. Stefan BellerJan 28, 2016
  9. 2/2 submodule: port init from shell to CStefan Beller, Jan 28, 2016
  10. Duy NguyenFeb 27, 2016

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.