summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-10-27 03:13:09 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-27 11:57:51 -0700
commit712b0377db60e0d3ac8bf3332022dfcd01e29afa (patch)
tree065d3c4b47f856f586a3fbf3b9ed1fd82c8f4ee0
parentsideband: report unhandled incomplete sideband messages as bugs (diff)
downloadtgif-712b0377db60e0d3ac8bf3332022dfcd01e29afa.tar.xz
test-pkt-line: drop colon from sideband identity
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>
-rw-r--r--t/helper/test-pkt-line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-pkt-line.c b/t/helper/test-pkt-line.c
index 0bf20642be..5e638f0b97 100644
--- a/t/helper/test-pkt-line.c
+++ b/t/helper/test-pkt-line.c
@@ -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)