line |
true |
false |
branch |
176
|
0 |
0 |
git_mwindow__window_size = va_arg(ap, size_t); |
180
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_mwindow__window_size; |
184
|
0 |
0 |
git_mwindow__mapped_limit = va_arg(ap, size_t); |
188
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_mwindow__mapped_limit; |
192
|
0 |
0 |
git_mwindow__file_limit = va_arg(ap, size_t); |
196
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_mwindow__file_limit; |
201
|
0 |
0 |
int sysdir = va_arg(ap, int); |
202
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
207
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
208
|
0 |
0 |
(error = config_level_to_sysdir(&level, sysdir)) < 0 || |
209
|
0 |
0 |
(error = git_sysdir_get(&tmp, level)) < 0 || |
221
|
0 |
0 |
if ((error = config_level_to_sysdir(&level, va_arg(ap, int))) >= 0) |
|
0 |
0 |
if ((error = config_level_to_sysdir(&level, va_arg(ap, int))) >= 0) |
222
|
0 |
0 |
error = git_sysdir_set(level, va_arg(ap, const char *)); |
228
|
0 |
0 |
git_object_t type = (git_object_t)va_arg(ap, int); |
229
|
0 |
0 |
size_t size = va_arg(ap, size_t); |
235
|
0 |
0 |
git_cache__max_storage = va_arg(ap, ssize_t); |
239
|
0 |
0 |
git_cache__enabled = (va_arg(ap, int) != 0); |
243
|
0 |
0 |
*(va_arg(ap, ssize_t *)) = git_cache__current_storage.val; |
244
|
0 |
0 |
*(va_arg(ap, ssize_t *)) = git_cache__max_storage; |
249
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
253
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
254
|
0 |
0 |
(error = git_sysdir_get(&tmp, GIT_SYSDIR_TEMPLATE)) < 0 || |
263
|
0 |
0 |
error = git_sysdir_set(GIT_SYSDIR_TEMPLATE, va_arg(ap, const char *)); |
269
|
0 |
0 |
const char *file = va_arg(ap, const char *); |
270
|
0 |
0 |
const char *path = va_arg(ap, const char *); |
286
|
0 |
0 |
git__user_agent = git__strdup(va_arg(ap, const char *)); |
287
|
0 |
0 |
if (!git__user_agent) { |
295
|
0 |
0 |
git_object__strict_input_validation = (va_arg(ap, int) != 0); |
299
|
0 |
0 |
git_reference__enable_symbolic_ref_target_validation = (va_arg(ap, int) != 0); |
306
|
0 |
0 |
git__ssl_ciphers = git__strdup(va_arg(ap, const char *)); |
307
|
0 |
0 |
if (!git__ssl_ciphers) { |
320
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
323
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
|
0 |
0 |
if ((error = git_buf_tostr(&str, out)) < 0 || |
332
|
0 |
0 |
git_smart__ofs_delta_enabled = (va_arg(ap, int) != 0); |
336
|
0 |
0 |
git_repository__fsync_gitdir = (va_arg(ap, int) != 0); |
352
|
0 |
0 |
git_odb__strict_hash_verification = (va_arg(ap, int) != 0); |
356
|
0 |
0 |
error = git_allocator_setup(va_arg(ap, git_allocator *)); |
360
|
0 |
0 |
git_index__enforce_unsaved_safety = (va_arg(ap, int) != 0); |
364
|
0 |
0 |
git_indexer__max_objects = va_arg(ap, size_t); |
368
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_indexer__max_objects; |
372
|
0 |
0 |
git_disable_pack_keep_file_checks = (va_arg(ap, int) != 0); |
376
|
0 |
0 |
git_http__expect_continue = (va_arg(ap, int) != 0); |
380
|
0 |
0 |
git_odb__packed_priority = va_arg(ap, int); |
384
|
0 |
0 |
git_odb__loose_priority = va_arg(ap, int); |
389
|
0 |
0 |
const char **extensions = va_arg(ap, const char **); |
390
|
0 |
0 |
size_t len = va_arg(ap, size_t); |
397
|
0 |
0 |
git_strarray *out = va_arg(ap, git_strarray *); |
401
|
0 |
0 |
if ((error = git_repository__extensions(&extensions, &len)) < 0) |
410
|
0 |
0 |
*(va_arg(ap, int *)) = git_repository__validate_ownership; |
414
|
0 |
0 |
git_repository__validate_ownership = (va_arg(ap, int) != 0); |