From: Jacob Keller Date: Mon, 29 Feb 2016 22:58:31 +0000 (-0800) Subject: submodule: check argc count for git submodule--helper clone X-Git-Tag: v2.9.0-rc0~147^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/08e0970a862aaa3b42c532ad0086bcaabe5108cf?hp=08e0970a862aaa3b42c532ad0086bcaabe5108cf submodule: check argc count for git submodule--helper clone Extra unused arguments to git submodule--helper clone subcommand were being silently ignored. Add a check to the argc count after options handling to ensure that no extra arguments were left on the argv array. Signed-off-by: Jacob Keller Reviewed-by: Stefan Beller Signed-off-by: Junio C Hamano ---