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

Re: [PATCH v4] transport-helper, connect: use clean_on_exit to reap children on abnormal exit

From
Jeff King <peff@peff.net>
Date
Mar 16, 2026, 21:19 UTC
Message-ID
<20260316211934.GA1042816@coredump.intra.peff.net>
In-Reply-To
<xmqq4imfo6sz.fsf@gitster.g>
On Mon, Mar 16, 2026 at 01:31:08PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Regardless of where it goes, we need to change a bit more, it seems?
> 
>     CC transport.o
> transport.c: In function 'transport_color_config':
> transport.c:57:62: error: passing argument 3 of 'repo_config_get_string_tmp' from incompatible pointer type [-Wincompatible-pointer-types]
>    57 |         if (!repo_config_get_string_tmp(the_repository, key, &value))
>       |                                                              ^~~~~~
>       |                                                              |
>       |                                                              char **
Huh. Obviously yes, but how did I manage to bungle this so badly?

I _think_ what happened is that I compiled the topic without -Werror, because of all of the -Wdiscarded-qualifier errors that happen on 'master' with a recent glibc.

My integration cycle would have caught it, since I have another topic with fixes for the discarded-qualifier issue. But I hadn't run one yet. ;)

None of that is important for you, but just wondering if there was something more subtle going on, or if I just screwed up something as simple as typing 'make'.

> I'll squash an obvious patch in.
Yep, that looks good. Thanks for fixing.
-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 19 of 22 in “Fix zombie children when git is PID 1 in containers”
  1. 0/1 Fix zombie children when git is PID 1 in containersAndrew Au, Feb 23, 2026
  2. 1/1 transport-helper, connect: add atexit handler to reap children on abnormal exitAndrew Au, Feb 23, 2026
  3. Kristoffer HaugsbakkFeb 23, 2026
  4. Andrew AuFeb 23, 2026
  5. transport-helper, connect: add atexit handler to reap children on abnormal exitAndrew Au, Mar 11, 2026
  6. Junio C HamanoMar 11, 2026
  7. Andrew AuMar 11, 2026
  8. Junio C HamanoMar 11, 2026
  9. Jeff KingMar 11, 2026
  10. transport-helper, connect: use clean_on_exit to reap children on abnormal exitAndrew Au, Mar 12, 2026
  11. Jeff KingMar 12, 2026
  12. Jeff KingMar 12, 2026
  13. Junio C HamanoMar 12, 2026
  14. transport-helper, connect: use clean_on_exit to reap children on abnormal exitAndrew Au, Mar 12, 2026
  15. Junio C HamanoMar 12, 2026
  16. Jeff KingMar 14, 2026
  17. Junio C HamanoMar 14, 2026
  18. Junio C HamanoMar 16, 2026
  19. Jeff KingMar 16, 2026
  20. Junio C HamanoMar 16, 2026
  21. brian m. carlsonMar 11, 2026
  22. Andrew AuMar 12, 2026

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.