summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-09-30 08:30:10 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-30 12:53:48 -0700
commit75d3bee15778a3aaeb8234023fc224838ac53181 (patch)
tree32ecb59af1794650ae361386579f759f8459a9c8 /t
parentsequencer: drop repository argument from run_git_commit() (diff)
downloadtgif-75d3bee15778a3aaeb8234023fc224838ac53181.tar.xz
sparse-checkout: fill in some options boilerplate
The sparse-checkout passes along argv and argc to its sub-command helper functions. Many of these sub-commands do not yet take any command-line options, and ignore those parameters. Let's instead add empty option lists and make sure we call parse_options(). That will give a useful error message for something like: git sparse-checkout list --nonsense which currently just silently ignores the unknown option. As a bonus, it also silences some -Wunused-parameter warnings. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions