summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2026-05-18 21:19:34 -0400
committerJunio C Hamano <gitster@pobox.com>2026-05-19 12:14:03 +0900
commitc5f52d03e223e1ea0c4639d22ad1ca180ec85097 (patch)
tree2ec2c71c78a9fe2b652588c57c981a72a8dccd8e /t/t4013/diff.diff_initial..side
parent6a1964c22a2655a4c995d9a8bbf25512b1a2bc16 (diff)
quote: drop sq_dequote_to_argv()
The last caller went away in f9dbb64fad (config: parse more robust format in GIT_CONFIG_PARAMETERS, 2021-01-12), when we switched to using sq_dequote_step(). The "to_argv()" form is not a great interface. If you care about raw speed, then sq_dequote_step() lets you work incrementally without extra allocations. If you care about simplicity, then sq_dequote_to_strvec() puts the result in an encapsulated data structure. With sq_dequote_to_argv(), you have a data dependency on the original string but still have to remember to manually free the argv array itself (but not its elements). So it's sort of a worst-of-both-worlds middle ground. Let's get rid of it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions