Re: [PATCH 1/1] pkt-line: fix a typo
Hi Junio,
On Mon, 2 Dec 2019, Junio C Hamano wrote:
Show 12 quoted lines
> "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
> writes:
>
> > 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.
Heh, as much as I would love to take credit for spotting it, it was actually cSpell in Visual Studio Code that spotted it ;-)
Ciao, Dscho
Show 18 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 {
>