diff options
author | Florian Achleitner <florian.achleitner.2.6.31@gmail.com> | 2012-09-19 19:21:18 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-08 01:10:16 +0400 |
commit | df7428eca46ec25df5ef14bc7e90120bdc267328 (patch) | |
tree | 33678e8a765a07b1f7e989232d025a2ea83198d3 /transport-helper.c | |
parent | fd871b94f6d564864194befa10c621586b7b8bcf (diff) |
Add argv_array_detach and argv_array_free_detached
Allow detaching of ownership of the argv_array's contents and add a
function to free those detached argv_arrays later.
This makes it possible to use argv_array efficiently with the exiting
struct child_process which only contains a member char **argv.
Add to documentation.
Signed-off-by: Florian Achleitner <florian.achleitner.2.6.31@gmail.com>
Acked-by: David Michael Barr <b@rr-dav.id.au>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
0 files changed, 0 insertions, 0 deletions