summaryrefslogtreecommitdiff
path: root/t/t9126
diff options
context:
space:
mode:
authorLibravatar Jacob Keller <jacob.keller@gmail.com>2016-02-29 14:58:31 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-01 12:24:03 -0800
commit08e0970a862aaa3b42c532ad0086bcaabe5108cf (patch)
treeaae617b663d02b02448fc87ea1dabc17cd1eefc5 /t/t9126
parentsubmodule: don't pass empty string arguments to submodule--helper clone (diff)
downloadtgif-08e0970a862aaa3b42c532ad0086bcaabe5108cf.tar.xz
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 <jacob.keller@gmail.com> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9126')
0 files changed, 0 insertions, 0 deletions