submodule: rewrite `module_clone` shell function in C
[gitweb.git] / Documentation / technical / api-argv-array.txt
index 6b97d6db7477fad9f2eda67e418f32e54797055a..8076172a08ce0dfc80e9656cd1ee7712c32c1d3e 100644 (file)
@@ -46,14 +46,13 @@ 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`.
 
+`argv_array_pushv`::
+       Push a null-terminated array of strings onto the end of the array.
+
+`argv_array_pop`::
+       Remove the final element from the array. If there are no
+       elements in the array, do nothing.
+
 `argv_array_clear`::
        Free all memory associated with the array and return it to the
        initial, empty state.
-
-`argv_array_detach`::
-       Detach the argv array from the `struct argv_array`, transfering
-       ownership of the allocated array and strings.
-
-`argv_array_free_detached`::
-       Free the memory allocated by a `struct argv_array` that was later
-       detached and is now no longer needed.