argv-array: drop "detach" code
commitff857e4ee8680af3988aff3383b1158f396a6fb2
authorJeff King <peff@peff.net>
Thu, 15 May 2014 08:41:03 +0000 (15 04:41 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 May 2014 16:49:12 +0000 (15 09:49 -0700)
treea8dd6bb9c85cd553b4168210de4fdcaec562de18
parent173fd1a1a44b89a204eb1289e4ff1f9d733e0cf1
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>
Documentation/technical/api-argv-array.txt
argv-array.c
argv-array.h