| 439 | } |
| 440 | |
| 441 | int parse_submodule_fetchjobs(const char *var, const char *value, |
| 442 | const struct key_value_info *kvi) |
| 443 | { |
| 444 | int fetchjobs = git_config_int(var, value, kvi); |
| 445 | if (fetchjobs < 0) |
| 446 | die(_("negative values not allowed for submodule.fetchJobs")); |
| 447 | if (!fetchjobs) |
| 448 | fetchjobs = online_cpus(); |
| 449 | return fetchjobs; |
| 450 | } |
| 451 | |
| 452 | int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg) |
| 453 | { |
no test coverage detected