Jeff King
75d3bee157
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 >
2020-09-30 12:53:48 -07:00
..
2020-09-30 12:53:47 -07:00
2020-09-30 12:53:47 -07:00
2020-07-30 19:18:06 -07:00
2020-08-28 14:06:06 -07:00
2020-08-14 09:33:37 -07:00
2020-09-16 12:38:10 -07:00
2020-09-03 12:37:02 -07:00
2020-08-11 18:04:11 -07:00
2020-07-09 14:00:41 -07:00
2020-08-18 17:17:31 -07:00
2020-04-28 10:47:10 -07:00
2020-09-09 13:53:09 -07:00
2020-09-10 10:49:19 -07:00
2020-09-22 09:22:32 -07:00
2020-09-30 12:53:47 -07:00
2020-04-28 10:47:10 -07:00
2020-09-30 12:53:47 -07:00
2020-09-22 12:36:29 -07:00
2020-08-13 11:02:08 -07:00
2020-09-03 12:37:03 -07:00
2020-08-13 11:02:08 -07:00
2020-07-30 19:18:06 -07:00
2020-06-22 10:46:45 -07:00
2020-04-20 18:22:54 -07:00
2020-07-09 14:00:43 -07:00
2020-07-30 19:18:06 -07:00
2020-09-30 12:53:47 -07:00
2020-09-02 14:39:25 -07:00
2020-09-06 13:40:37 -07:00
2020-08-18 16:46:53 -07:00
2020-09-25 15:25:38 -07:00
2020-03-24 15:04:43 -07:00
2020-09-16 12:38:10 -07:00
2020-08-06 13:01:03 -07:00
2020-09-17 11:30:05 -07:00
2020-09-10 10:49:19 -07:00
2020-08-04 18:34:01 -07:00
2020-09-22 12:36:28 -07:00
2020-09-22 09:22:32 -07:00
2020-04-28 10:47:10 -07:00
2020-09-22 12:36:28 -07:00
2020-08-18 17:17:31 -07:00
2020-08-24 14:54:30 -07:00
2020-02-11 09:59:39 -08:00
2020-09-25 15:25:38 -07:00
2020-01-31 10:45:39 -08:00
2019-10-23 12:05:06 +09:00
2020-07-20 14:35:43 -07:00
2020-08-14 09:33:37 -07:00
2020-04-28 10:47:10 -07:00
2020-08-19 16:14:52 -07:00
2019-12-09 12:26:40 -08:00
2020-03-24 15:04:44 -07:00
2020-05-13 12:19:18 -07:00
2020-09-29 14:01:22 -07:00
2020-09-30 12:53:47 -07:00
2020-07-28 15:02:18 -07:00
2020-04-28 10:47:10 -07:00
2020-09-25 15:25:38 -07:00
2020-09-25 15:25:39 -07:00
2020-07-06 22:09:15 -07:00
2020-07-28 15:02:18 -07:00
2020-09-22 12:36:32 -07:00
2020-09-09 13:53:06 -07:00
2020-07-30 19:18:06 -07:00
2020-09-02 14:39:25 -07:00
2020-08-07 15:13:03 -07:00
2020-09-02 14:39:25 -07:00
2020-02-19 10:56:49 -08:00
2020-09-25 15:25:39 -07:00
2020-04-28 10:47:10 -07:00
2020-09-09 13:53:09 -07:00
2020-05-27 10:07:07 -07:00
2020-04-28 10:47:10 -07:00
2020-09-30 12:53:48 -07:00
2020-09-09 13:53:09 -07:00
2020-09-09 13:53:07 -07:00
2020-09-16 12:38:10 -07:00
2020-01-31 10:45:39 -08:00
2020-04-28 10:47:10 -07:00
2020-07-28 15:02:17 -07:00
2020-07-30 19:18:06 -07:00
2020-08-11 18:04:11 -07:00
2020-09-18 17:58:04 -07:00