summaryrefslogtreecommitdiff
path: root/t/t0065-strcmp-offset.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-01-29 15:04:08 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-29 15:13:54 -0800
commitf08b6c553d5b0e5a50176a176ad9061130fb9b4b (patch)
tree5fb0c21964c785d99dbf89713e0b8ac0d9c2c0aa /t/t0065-strcmp-offset.sh
parentGit 2.30 (diff)
downloadtgif-f08b6c553d5b0e5a50176a176ad9061130fb9b4b.tar.xz
p5303: avoid sed GNU-ism
Using "1~5" isn't portable. Nobody seems to have noticed, since perhaps people don't tend to run the perf suite on more exotic platforms. Still, it's better to set a good example. We can use: perl -ne 'print if $. % 5 == 1' instead. But we can further observe that perl does a good job of the other parts of this pipeline, and fold the whole thing together. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0065-strcmp-offset.sh')
0 files changed, 0 insertions, 0 deletions