Jeff King
70aa1d7576
submodule--helper: drop unused argc from module_list_compute()
...
The module_list_compute() function takes an argc/argv pair, but never
looks at argc. This is OK, as the NULL terminator in argv is sufficient
for our purposes (we feed it to parse_pathspec(), which takes only the
array, not a count).
Note that one of the callers _looks_ like it would be buggy, but isn't:
we pass 0/NULL for argc/argv from module_foreach(), so finding the
terminating NULL in that argv naively would segfault. However,
parse_pathspec() is smart enough to interpret a bare NULL as an empty
argv.
Signed-off-by: Jeff King <peff@peff.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2022-10-17 21:24:03 -07:00
..
2022-06-07 14:10:56 -07:00
2022-09-01 10:49:48 -07:00
2022-04-06 09:42:14 -07:00
2022-08-19 11:13:14 -07:00
2022-09-14 12:56:39 -07:00
2022-08-19 11:13:14 -07:00
2022-06-21 08:52:37 -07:00
2022-08-12 13:20:02 -07:00
2022-08-19 11:13:15 -07:00
2022-08-05 15:52:14 -07:00
2022-07-01 11:43:42 -07:00
2022-01-13 13:49:45 -08:00
2022-09-01 10:49:48 -07:00
2022-02-17 16:25:05 -08:00
2022-09-19 14:35:24 -07:00
2022-09-14 12:56:39 -07:00
2022-06-07 14:10:56 -07:00
2022-09-01 10:49:48 -07:00
2022-02-04 13:58:28 -08:00
2022-09-01 10:49:48 -07:00
2022-09-21 11:53:35 -07:00
2022-07-12 07:17:28 -07:00
2022-04-13 23:56:10 -07:00
2022-04-26 09:26:35 -07:00
2022-06-07 14:10:56 -07:00
2022-09-14 12:56:39 -07:00
2022-08-19 11:13:14 -07:00
2022-09-14 12:56:39 -07:00
2022-09-01 10:49:48 -07:00
2022-09-12 08:38:59 -07:00
2022-09-19 14:35:24 -07:00
2021-12-20 14:55:02 -08:00
2022-09-01 10:49:48 -07:00
2022-05-26 15:59:27 -07:00
2022-09-21 15:27:03 -07:00
2022-06-22 13:23:29 -07:00
2022-03-16 17:53:08 -07:00
2022-09-02 10:02:56 -07:00
2022-08-19 11:13:15 -07:00
2022-06-17 10:38:26 -07:00
2022-01-05 13:29:23 -08:00
2022-09-14 12:56:39 -07:00
2022-09-12 09:25:40 -07:00
2022-05-20 15:26:59 -07:00
2022-09-01 10:49:48 -07:00
2022-05-20 15:26:59 -07:00
2022-03-04 13:24:17 -08:00
2022-07-01 11:43:43 -07:00
2022-03-07 11:57:52 -08:00
2022-06-22 16:10:06 -07:00
2022-09-01 13:40:19 -07:00
2022-03-16 17:53:08 -07:00
2022-06-21 10:12:15 -07:00
2022-09-14 12:56:39 -07:00
2022-09-19 14:35:23 -07:00
2022-09-01 10:49:48 -07:00
2022-09-07 12:06:12 -07:00
2022-09-14 12:56:39 -07:00
2022-05-02 09:50:37 -07:00
2022-02-02 11:24:23 -08:00
2022-02-04 13:58:28 -08:00
2022-04-13 23:56:08 -07:00
2022-07-01 11:43:43 -07:00
2022-06-15 11:45:46 -07:00
2022-08-26 09:49:26 -07:00
2022-03-01 12:36:01 -08:00
2022-07-19 12:49:04 -07:00
2022-09-01 10:49:48 -07:00
2022-09-14 12:56:39 -07:00
2022-09-14 12:56:39 -07:00
2022-09-01 10:49:48 -07:00
2022-08-05 14:13:12 -07:00
2022-08-08 13:23:26 -07:00
2022-08-11 13:45:23 -07:00
2022-09-14 12:56:39 -07:00
2022-08-19 11:13:14 -07:00
2022-08-08 13:23:26 -07:00
2022-02-04 13:58:28 -08:00
2022-08-19 11:13:14 -07:00
2022-09-01 10:49:48 -07:00
2022-09-01 10:49:48 -07:00
2022-08-25 09:43:29 -07:00
2022-09-14 12:56:39 -07:00
2022-02-04 13:58:28 -08:00
2022-10-17 21:24:03 -07:00
2022-08-01 12:17:13 -07:00
2022-05-20 15:26:59 -07:00
2022-06-13 10:22:36 -07:00
2022-06-10 15:04:15 -07:00
2022-02-04 13:58:28 -08:00
2022-08-19 11:13:16 -07:00