summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-argv-array.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-05-15 08:41:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-05-15 16:49:12 (GMT)
commitff857e4ee8680af3988aff3383b1158f396a6fb2 (patch)
treea8dd6bb9c85cd553b4168210de4fdcaec562de18 /Documentation/technical/api-argv-array.txt
parent173fd1a1a44b89a204eb1289e4ff1f9d733e0cf1 (diff)
downloadgit-ff857e4ee8680af3988aff3383b1158f396a6fb2.zip
git-ff857e4ee8680af3988aff3383b1158f396a6fb2.tar.gz
git-ff857e4ee8680af3988aff3383b1158f396a6fb2.tar.bz2
argv-array: drop "detach" code
The argv_array_detach function (and associated free() function) was really only useful for transferring ownership of the memory to a "struct child_process". Now that we have an internal argv_array in that struct, there are no callers left. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-argv-array.txt')
-rw-r--r--Documentation/technical/api-argv-array.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/technical/api-argv-array.txt b/Documentation/technical/api-argv-array.txt
index a6b7d83..1a79781 100644
--- a/Documentation/technical/api-argv-array.txt
+++ b/Documentation/technical/api-argv-array.txt
@@ -53,11 +53,3 @@ Functions
`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`, transferring
- 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.