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

Re: [PATCH 1/1] pkt-line: fix a typo

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 2, 2019, 14:16 UTC
Message-ID
<xmqqr21myfrz.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<df82efe896aea1fd5ff597b3fad772aef0957d2e.1575276191.git.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 7 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> This typo was introduced in 2153d478b74 (pkt-line: introduce
> packet_read_with_status, 2018-03-14).
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
Good eyes.  Will queue.  Thanks.
Show 16 quoted lines
>  pkt-line.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pkt-line.h b/pkt-line.h
> index 5c62015db4..fef3a0d792 100644
> --- a/pkt-line.h
> +++ b/pkt-line.h
> @@ -77,7 +77,7 @@ int packet_read(int fd, char **src_buffer, size_t *src_len, char
>  /*
>   * Read a packetized line into a buffer like the 'packet_read()' function but
>   * returns an 'enum packet_read_status' which indicates the status of the read.
> - * The number of bytes read will be assigined to *pktlen if the status of the
> + * The number of bytes read will be assigned to *pktlen if the status of the
>   * read was 'PACKET_READ_NORMAL'.
>   */
>  enum packet_read_status {
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin
Message 3 of 4 in “pkt-line: fix a typo”
  1. 0/1 pkt-line: fix a typoJohannes Schindelin via GitGitGadget, Dec 2, 2019
  2. 1/1 pkt-line: fix a typoJohannes Schindelin via GitGitGadget, Dec 2, 2019
  3. Junio C HamanoDec 2, 2019
  4. Johannes SchindelinDec 2, 2019

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.