summaryrefslogtreecommitdiff
path: root/t/t5562-http-backend-content-length.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-03-29 11:02:26 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-29 08:49:47 -0700
commitcacae4329fa4779127f4944e7807512e7b9e8cac (patch)
tree5e536642db0238699763589ba8b17d26416bfa92 /t/t5562-http-backend-content-length.sh
parentupload-pack: handle unexpected delim packets (diff)
downloadtgif-cacae4329fa4779127f4944e7807512e7b9e8cac.tar.xz
test-lib-functions: simplify packetize() stdin code
The code path in packetize() for reading stdin needs to handle NUL bytes, so we can't rely on shell variables. However, the current code takes a whopping 4 processes and uses a temporary file. We can do this much more simply and efficiently by using a single perl invocation (and we already rely on perl in the matching depacketize() function). We'll keep the non-stdin code path as it is, since that uses zero extra processes. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5562-http-backend-content-length.sh')
0 files changed, 0 insertions, 0 deletions