Skip to content

Commit 6c142bc

Browse files
committed
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
2 parents ce729ea + a816ccd commit 6c142bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/fetch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ static int git_fetch_config(const char *k, const char *v,
138138
int r = git_config_bool(k, v) ?
139139
RECURSE_SUBMODULES_ON : RECURSE_SUBMODULES_OFF;
140140
fetch_config->recurse_submodules = r;
141+
return 0;
141142
}
142143

143144
if (!strcmp(k, "submodule.fetchjobs")) {

0 commit comments

Comments
 (0)