]> git.ipfire.org Git - thirdparty/git.git/commitdiff
pkt-line: fix a typo
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Dec 2019 08:43:11 +0000 (08:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Dec 2019 16:48:56 +0000 (08:48 -0800)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pkt-line.h

index 5c62015db4df7007d6c0f5a1cc6041ce04e14b43..fef3a0d792d31bd04aa0145908db9dfb0c87c94d 100644 (file)
@@ -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 {