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

Re: [PATCH v4] submodule--helper: run update procedures from C

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 8, 2021, 00:14 UTC
Message-ID
<xmqqk0jr9b4p.fsf@gitster.g>
In-Reply-To
<20210824140609.1496-1-raykar.ath@gmail.com>
Atharva Raykar <raykar.ath@gmail.com> writes:
Show 15 quoted lines
> * Fix error message handling of the output of 'run-update-procedure'. While at
>   it, ensure the "checkout" mode error message is stored and printed
>   appropriately.
>
> * In 'run_update_command()' switch from 'run_command()' to
>   'run_command_v_opt_cd_env()' to ensure quoted command update modes are handled
>   correctly.
>
> * Code style and hygiene changes.
>
> * Introduce a NEEDSWORK comment, because the printf() and error return is
>   correct only because the shell caller in the other end redirects it to the
>   correct output stream. Once we switch this completely to C (ie, in the
>   follow-up series), I need to remember to die() instead (or print to stderr) to
>   reproduce the original behaviour.

I didn't see anybody comment on this round (and do not think I saw anything glaringly wrong).

Is everybody happy with this version? I am about to mark it for 'next' in the next issue of "What's cooking" report, so please holler if I should wait.

Thanks.
Previous: Atharva Raykar
Message 13 of 13 in “submodule--helper: run update procedures from C”
  1. Atharva RaykarJul 22, 2021
  2. Ævar Arnfjörð BjarmasonJul 23, 2021
  3. Atharva RaykarJul 23, 2021
  4. Atharva RaykarAug 4, 2021
  5. [GSoC] [PATCH v2] submodule--helper: run update procedures from CAtharva Raykar, Aug 2, 2021
  6. Shourya ShuklaAug 2, 2021
  7. Atharva RaykarAug 3, 2021
  8. Atharva RaykarAug 3, 2021
  9. [GSoC] [PATCH v3] submodule--helper: run update procedures from CAtharva Raykar, Aug 13, 2021
  10. Junio C HamanoAug 13, 2021
  11. Atharva RaykarAug 24, 2021
  12. submodule--helper: run update procedures from CAtharva Raykar, Aug 24, 2021
  13. Junio C HamanoSep 8, 2021

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.