Merge branch 'ds/fetch-config-parse-microfix'

A config parser callback function fell through instead of returning
after recognising and processing a variable, wasting cycles, which
has been corrected.

* ds/fetch-config-parse-microfix:
  fetch: return when parsing submodule.recurse
This commit is contained in:
Junio C Hamano 2024-04-15 14:11:43 -07:00
commit 6c142bc846
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ static int git_fetch_config(const char *k, const char *v,
int r = git_config_bool(k, v) ?
RECURSE_SUBMODULES_ON : RECURSE_SUBMODULES_OFF;
fetch_config->recurse_submodules = r;
return 0;
}
if (!strcmp(k, "submodule.fetchjobs")) {