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 {