Re: [PATCH 5/4] sq_quote_argv: drop maxlen parameter
- Date: Fri, 12 Jan 2018 15:20:55 -0800
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: [PATCH 5/4] sq_quote_argv: drop maxlen parameter
Jeff King <peff@xxxxxxxx> writes:
> No caller passes anything but "0" for this parameter, which
> requests that the function ignore it completely. In fact, in
> all of history there was only one such caller, and it went
> away in 7f51f8bc2b (alias: use run_command api to execute
> aliases, 2011-01-07).
> Signed-off-by: Jeff King <peff@xxxxxxxx>
> Just a cleanup, though it touches the caller you just added, too.
Yup. This is a good change in the longer term. I needed an evil
merge for a stalled topic in 'pu' to adjust a couple of new callers,