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

Re: [PATCH 2/2] Documentation/remote-helpers: Fix some typos

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 5, 2010, 22:03 UTC
Message-ID
<7vpr2dmu9y.fsf@alter.siamese.dyndns.org>
In-Reply-To
<f3271551003281104h9b672abk1a8ecccd7a4f8964@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 10 quoted lines
> @@ -128,9 +131,9 @@ Supported if the helper has the "import" capability.
>  Supported if the helper has the "connect" capability.
>
>  If a fatal error occurs, the program writes the error message to
> -stderr and exits. The caller should expect that a suitable error
> -message has been printed if the child closes the connection without
> -completing a valid response for the current command.
> +stderr and exits. The caller should expect a suitable error
> +if the child closes the connection without
> +giving a valid response for the current command.

This not just fixes typo but changes what is being said, doesn't it? The point of the original about the "error" is that the caller does not have to issue a redundant error message when the helper closes the connection without reporting the status back, but that information which probably is critical when maintaining the caller (and writing a new callee) is lost.

Other parts looked Ok to me.
Thanks.
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 2 of 3 in “Documentation/remote-helpers: Fix some typos”
  1. 2/2 Documentation/remote-helpers: Fix some typosRamkumar Ramachandra, Mar 28, 2010
  2. Junio C HamanoApr 5, 2010
  3. Ramkumar RamachandraApr 6, 2010

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.