path: root/Documentation/technical/api-argv-array.txt
diff options
authorPaul Tan <>2015-06-14 08:41:50 (GMT)
committerJunio C Hamano <>2015-06-15 19:40:49 (GMT)
commit85b343245b495a47f937007e1c0650f2070b9b4f (patch)
treeaf7600866200705159dcffec6f35b3ae99c43cf5 /Documentation/technical/api-argv-array.txt
parentffad85c599307441323de565c3fafde227e04a8f (diff)
argv-array: implement argv_array_pushv()
When we have a null-terminated array, it would be useful to convert it or append it to an argv_array for further manipulation. Implement argv_array_pushv() which will push a null-terminated array of strings on to an argv_array. Signed-off-by: Paul Tan <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/technical/api-argv-array.txt')
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/technical/api-argv-array.txt b/Documentation/technical/api-argv-array.txt
index 1a79781..8076172 100644
--- a/Documentation/technical/api-argv-array.txt
+++ b/Documentation/technical/api-argv-array.txt
@@ -46,6 +46,9 @@ Functions
Format a string and push it onto the end of the array. This is a
convenience wrapper combining `strbuf_addf` and `argv_array_push`.
+ Push a null-terminated array of strings onto the end of the array.
Remove the final element from the array. If there are no
elements in the array, do nothing.