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

Re: [PATCH 6/6] submodule--helper: introduce new update-module-mode helper

From
Derrick Stolee <stolee@gmail.com>
Date
Jul 18, 2018, 15:00 UTC
Message-ID
<e5366f75-3669-bfbb-2561-ee06751b923d@gmail.com>
In-Reply-To
<20180712194754.71979-7-sbeller@google.com>
On 7/12/2018 3:47 PM, Stefan Beller wrote:
> +	fprintf(stdout, submodule_strategy_to_string(&update_strategy));
This line is causing build failures on 'pu' for certain setups:

2018-07-18T14:53:03.6857987Z builtin/submodule--helper.c: In function ‘module_update_module_mode’: 2018-07-18T14:53:03.6874886Z builtin/submodule--helper.c:1504:2: error: format not a string literal and no format arguments [-Werror=format-security] 2018-07-18T14:53:03.6890814Z   fprintf(stdout, submodule_strategy_to_string(&update_strategy)); 2018-07-18T14:53:03.6905905Z   ^

Thanks,
-Stolee
Previous: Stefan BellerNext: Stefan Beller
Message 12 of 13 in “git-submodule.sh: convert part of cmd_update to C”
  1. 0/6 git-submodule.sh: convert part of cmd_update to CStefan Beller, Jul 12, 2018
  2. 1/6 git-submodule.sh: align error reporting for update mode to use pathStefan Beller, Jul 12, 2018
  3. Junio C HamanoJul 12, 2018
  4. 2/6 git-submodule.sh: rename unused variablesStefan Beller, Jul 12, 2018
  5. Junio C HamanoJul 12, 2018
  6. 3/6 builtin/submodule--helper: factor out submodule updatingStefan Beller, Jul 12, 2018
  7. 4/6 builtin/submodule--helper: store update_clone information in a structStefan Beller, Jul 12, 2018
  8. Junio C HamanoJul 16, 2018
  9. Stefan BellerJul 16, 2018
  10. 5/6 builtin/submodule--helper: factor out method to update a single submoduleStefan Beller, Jul 12, 2018
  11. 6/6 submodule--helper: introduce new update-module-mode helperStefan Beller, Jul 12, 2018
  12. Derrick StoleeJul 18, 2018
  13. Stefan BellerJul 18, 2018

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.