mirror of
https://github.com/git/git.git
synced 2024-05-28 16:16:09 +02:00
Merge branch 'ds/fetch-config-parse-microfix' into next
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:
commit
585dcadd63
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue