deps/libgit2/src/libgit2/config_cache.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
98 | 0 | 1501 | if ((error = git_config__lookup_entry(&entry, config, data->name, false)) < 0) |
101 | 1163 | 338 | if (!entry) |
103 | 23 | 315 | else if (data->maps) |
119 | 309 | 4055 | if (value == GIT_CONFIGMAP_NOT_CACHED) { |
124 | 309 | 0 | if ((error = git_repository_config__weakptr(&config, repo)) < 0 || |
0 | 309 | if ((error = git_repository_config__weakptr(&config, repo)) < 0 || | |
139 | 2205 | 147 | for (i = 0; i < GIT_CONFIGMAP_CACHE_MAX; ++i) |