]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test-pkt-line: drop colon from sideband identity
authorJeff King <peff@peff.net>
Tue, 27 Oct 2020 07:13:09 +0000 (03:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Oct 2020 18:57:51 +0000 (11:57 -0700)
We pass "sideband: " as our identity for errors to recv_sideband(). But
it already adds the trailing colon and space. This doesn't invalidate
any tests, but it looks funny when you examine the test output.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-pkt-line.c

index 0bf20642bee447aec36aad14d18b0889b9ce185f..5e638f0b970d37e57cc0b17d1aa9e17b29e52a0e 100644 (file)
@@ -100,7 +100,7 @@ static int send_split_sideband(void)
 
 static int receive_sideband(void)
 {
-       return recv_sideband("sideband", 0, 1);
+       return recv_sideband("sideband", 0, 1);
 }
 
 int cmd__pkt_line(int argc, const char **argv)