Skip to contentSkip to conversation

pkt-line: fix a typo

PATCH In review Johannes Schindelin via GitGitGadget 3 participants 4 messages Dec 2, 2019

lore
Share & tools
lore
#0 lore raw

cover pkt-line: fix a typo

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

Signature · 1 line
gitgitgadget
#1 lore raw

PATCH 1/1 pkt-line: fix a typo

From: Johannes Schindelin <[email protected]>

This typo was introduced in 2153d478b74 (pkt-line: introduce packet_read_with_status, 2018-03-14).

---
 pkt-line.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
pkt-line.h +1 -1
index 5c62015db4..fef3a0d792 100644
@@ -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 {
Signature · 1 line
gitgitgadget
#2 lore raw

"Johannes Schindelin via GitGitGadget" <[email protected]>

Quoted 7 lines · writes:

From: Johannes Schindelin <[email protected]>

This typo was introduced in 2153d478b74 (pkt-line: introduce packet_read_with_status, 2018-03-14).

---

Good eyes. Will queue. Thanks.

Quoted 16 lines
 pkt-line.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
pkt-line.h +1 -1
index 5c62015db4..fef3a0d792 100644
@@ -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 {
#3 lore raw

Hi Junio,

Quoted 5 lines · Junio C Hamano

"Johannes Schindelin via GitGitGadget" <[email protected]>

Quoted 2 lines · writes:

From: Johannes Schindelin <[email protected]>

Quoted 7 lines
Quoted 5 lines

This typo was introduced in 2153d478b74 (pkt-line: introduce packet_read_with_status, 2018-03-14).

---

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

Quoted 18 lines
Quoted 17 lines
 pkt-line.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
pkt-line.h +1 -1
index 5c62015db4..fef3a0d792 100644
@@ -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 {