Cheap function that only determines if we're interested in submodules at all */
| 201 | |
| 202 | /* Cheap function that only determines if we're interested in submodules at all */ |
| 203 | int git_default_submodule_config(const char *var, const char *value, |
| 204 | void *cb UNUSED) |
| 205 | { |
| 206 | if (!strcmp(var, "submodule.recurse")) { |
| 207 | int v = git_config_bool(var, value) ? |
| 208 | RECURSE_SUBMODULES_ON : RECURSE_SUBMODULES_OFF; |
| 209 | config_update_recurse_submodules = v; |
| 210 | } |
| 211 | return 0; |
| 212 | } |
| 213 | |
| 214 | int option_parse_recurse_submodules_worktree_updater(const struct option *opt, |
| 215 | const char *arg, int unset) |
no test coverage detected