Code

quote: add "sq_dequote_to_argv" to put unwrapped args in an argv array
authorChristian Couder <chriscool@tuxfamily.org>
Sun, 29 Mar 2009 09:44:52 +0000 (11:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2009 08:22:53 +0000 (01:22 -0700)
commiteaa759b9141f125d7e55a4b08b60497845d3c52e
treea10153bea4a6ae128be98c08d55f6b5a66fbe912
parentebbc088e13e1bf0dbf8eb08b00519602c176f864
quote: add "sq_dequote_to_argv" to put unwrapped args in an argv array

This new function unwraps the space separated shell quoted elements in
its first argument and places them in the argv array passed as its second
argument.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
quote.c
quote.h