summary refs log tree commit diff
path: root/pkt-line.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2021-07-08 19:27:22 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-09 11:51:17 -0700
commit8232a0ff48ce0959e20db9ffa1c4e16d4657dbec (patch)
treefe7f9b74d26f3029497aa6d4303be364d60c2018 /pkt-line.c
parentb0df0c16ead4c5512d506dcbbdf31194d992803c (diff)
pkt-line: replace "stateless separator" with "response end"
In 0181b600a6 (pkt-line: define PACKET_READ_RESPONSE_END, 2020-05-19),
the Response End packet was defined for Git's network protocol. When the
patch was sent, it included an oversight where the error messages
referenced "stateless separator", the work-in-progress name, over
"response end", the final name chosen.

Correct these error messages by having them correctly reference
a "response end" packet.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.c')
-rw-r--r--pkt-line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkt-line.c b/pkt-line.c
index 8f9bc68ee2..4f0264b479 100644
--- a/pkt-line.c
+++ b/pkt-line.c
@@ -103,7 +103,7 @@ void packet_response_end(int fd)
 {
 	packet_trace("0002", 4, 1);
 	if (write_in_full(fd, "0002", 4) < 0)
-		die_errno(_("unable to write stateless separator packet"));
+		die_errno(_("unable to write response end packet"));
 }
 
 int packet_flush_gently(int fd)