summaryrefslogtreecommitdiffstats
path: root/test-mktemp.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-09-13 23:58:08 +0200
committerJunio C Hamano <gitster@pobox.com>2011-09-14 20:56:49 +0200
commit37e8161a04360d01edd0611135f5eae8e6a08224 (patch)
treeea38f9230e77827e445d409eb4c9ea6706cb8adc /test-mktemp.c
parentrefactor argv_array into generic code (diff)
downloadgit-37e8161a04360d01edd0611135f5eae8e6a08224.tar.xz
git-37e8161a04360d01edd0611135f5eae8e6a08224.zip
quote: provide sq_dequote_to_argv_array
This is similar to sq_dequote_to_argv, but more convenient if you have an argv_array. It's tempting to just feed the components of the argv_array to sq_dequote_to_argv instead, but: 1. It wouldn't maintain the NULL-termination invariant of argv_array. 2. It doesn't match the memory ownership policy of argv_array (in which each component is free-able, not a pointer into a separate buffer). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-mktemp.c')
0 files changed, 0 insertions, 0 deletions