]> git.ipfire.org Git - thirdparty/git.git/commit - quote.c
sq_quote_argv: drop maxlen parameter
authorJeff King <peff@peff.net>
Mon, 15 Jan 2018 10:59:43 +0000 (17:59 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jan 2018 20:16:54 +0000 (12:16 -0800)
commite35f11c29391e557964a39204fae6b89afab6a2a
treecfa0895a5da003a8b0f0e366699b7614d0d7835a
parent6366dd9000a3f67e47a30d94375a88dabc18ec6f
sq_quote_argv: drop maxlen parameter

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@peff.net>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
builtin/rev-parse.c
quote.c
quote.h
trace.c