Branch Coverage

deps/libgit2/src/settings.c
Criterion Covered Total %
branch 0 80 0.0


line true false branch
113 0 0 git_mwindow__window_size = va_arg(ap, size_t);
117 0 0 *(va_arg(ap, size_t *)) = git_mwindow__window_size;
121 0 0 git_mwindow__mapped_limit = va_arg(ap, size_t);
125 0 0 *(va_arg(ap, size_t *)) = git_mwindow__mapped_limit;
129 0 0 git_mwindow__file_limit = va_arg(ap, size_t);
133 0 0 *(va_arg(ap, size_t *)) = git_mwindow__file_limit;
137 0 0 if ((error = config_level_to_sysdir(va_arg(ap, int))) >= 0) {
0 0 if ((error = config_level_to_sysdir(va_arg(ap, int))) >= 0) {
138 0 0 git_buf *out = va_arg(ap, git_buf *);
142 0 0 if ((error = git_sysdir_get(&tmp, error)) < 0)
150 0 0 if ((error = config_level_to_sysdir(va_arg(ap, int))) >= 0)
0 0 if ((error = config_level_to_sysdir(va_arg(ap, int))) >= 0)
151 0 0 error = git_sysdir_set(error, va_arg(ap, const char *));
156 0 0 git_object_t type = (git_object_t)va_arg(ap, int);
157 0 0 size_t size = va_arg(ap, size_t);
163 0 0 git_cache__max_storage = va_arg(ap, ssize_t);
167 0 0 git_cache__enabled = (va_arg(ap, int) != 0);
171 0 0 *(va_arg(ap, ssize_t *)) = git_cache__current_storage.val;
172 0 0 *(va_arg(ap, ssize_t *)) = git_cache__max_storage;
177 0 0 git_buf *out = va_arg(ap, git_buf *);
181 0 0 if ((error = git_sysdir_get(&tmp, GIT_SYSDIR_TEMPLATE)) < 0)
189 0 0 error = git_sysdir_set(GIT_SYSDIR_TEMPLATE, va_arg(ap, const char *));
195 0 0 const char *file = va_arg(ap, const char *);
196 0 0 const char *path = va_arg(ap, const char *);
215 0 0 git__user_agent = git__strdup(va_arg(ap, const char *));
216 0 0 if (!git__user_agent) {
224 0 0 git_object__strict_input_validation = (va_arg(ap, int) != 0);
228 0 0 git_reference__enable_symbolic_ref_target_validation = (va_arg(ap, int) != 0);
235 0 0 git__ssl_ciphers = git__strdup(va_arg(ap, const char *));
236 0 0 if (!git__ssl_ciphers) {
249 0 0 git_buf *out = va_arg(ap, git_buf *);
256 0 0 git_smart__ofs_delta_enabled = (va_arg(ap, int) != 0);
260 0 0 git_repository__fsync_gitdir = (va_arg(ap, int) != 0);
276 0 0 git_odb__strict_hash_verification = (va_arg(ap, int) != 0);
280 0 0 error = git_allocator_setup(va_arg(ap, git_allocator *));
284 0 0 git_index__enforce_unsaved_safety = (va_arg(ap, int) != 0);
288 0 0 git_indexer__max_objects = va_arg(ap, size_t);
292 0 0 *(va_arg(ap, size_t *)) = git_indexer__max_objects;
296 0 0 git_disable_pack_keep_file_checks = (va_arg(ap, int) != 0);
300 0 0 git_http__expect_continue = (va_arg(ap, int) != 0);