Re: [RFC 02/11] remote.c: add infrastructure for parsing --prune options

2013-12-04 Thread Michael Haggerty
On 12/04/2013 01:57 PM, Duy Nguyen wrote: On Wed, Dec 4, 2013 at 12:44 PM, Michael Haggerty mhag...@alum.mit.edu wrote: +void argv_push_prune_option(struct argv_array *argv, + struct prune_option *prune_option) +{ + if (prune_option-prune != -1) +

[RFC 02/11] remote.c: add infrastructure for parsing --prune options

2013-12-03 Thread Michael Haggerty
For now, only handle --prune/--no-prune. But handle the option via a callback so that in the future --prune=PATTERN can be implemented. The new functions are not yet used. Signed-off-by: Michael Haggerty mhag...@alum.mit.edu --- remote.c | 62