git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / Atom feed
* [PATCH 0/1] pkt-line: fix a typo
@ 2019-12-02  8:43 Johannes Schindelin via GitGitGadget
  2019-12-02  8:43 ` [PATCH 1/1] " Johannes Schindelin via GitGitGadget
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2019-12-02  8:43 UTC (permalink / raw)
  To: git; +Cc: Johannes Schindelin, Junio C Hamano

I stumbled over this during some investigation recently, together with the
"initilize" and the "occured" typos. Fixes for the latter have been
contributed, so I won't do that again, but this one was still unaddressed.

Johannes Schindelin (1):
  pkt-line: fix a typo

 pkt-line.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: d9f6f3b6195a0ca35642561e530798ad1469bd41
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-481%2Fdscho%2Fassigined-tyop-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-481/dscho/assigined-tyop-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/481
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] pkt-line: fix a typo
  2019-12-02  8:43 [PATCH 0/1] pkt-line: fix a typo Johannes Schindelin via GitGitGadget
@ 2019-12-02  8:43 ` " Johannes Schindelin via GitGitGadget
  2019-12-02 14:16   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2019-12-02  8:43 UTC (permalink / raw)
  To: git; +Cc: Johannes Schindelin, Junio C Hamano, Johannes Schindelin

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>
---
 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 {
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] pkt-line: fix a typo
  2019-12-02  8:43 ` [PATCH 1/1] " Johannes Schindelin via GitGitGadget
@ 2019-12-02 14:16   ` Junio C Hamano
  2019-12-02 17:02     ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2019-12-02 14:16 UTC (permalink / raw)
  To: Johannes Schindelin via GitGitGadget; +Cc: git, Johannes Schindelin

"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.

>  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 {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] pkt-line: fix a typo
  2019-12-02 14:16   ` Junio C Hamano
@ 2019-12-02 17:02     ` Johannes Schindelin
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2019-12-02 17:02 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Johannes Schindelin via GitGitGadget, git

Hi Junio,

On Mon, 2 Dec 2019, Junio C Hamano wrote:

> "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

>
> >  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 {
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02  8:43 [PATCH 0/1] pkt-line: fix a typo Johannes Schindelin via GitGitGadget
2019-12-02  8:43 ` [PATCH 1/1] " Johannes Schindelin via GitGitGadget
2019-12-02 14:16   ` Junio C Hamano
2019-12-02 17:02     ` Johannes Schindelin

git@vger.kernel.org list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git