line |
true |
false |
branch |
112
|
0 |
0 |
git_mwindow__window_size = va_arg(ap, size_t); |
116
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_mwindow__window_size; |
120
|
0 |
0 |
git_mwindow__mapped_limit = va_arg(ap, size_t); |
124
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_mwindow__mapped_limit; |
128
|
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) { |
129
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
133
|
0 |
0 |
if ((error = git_sysdir_get(&tmp, error)) < 0) |
141
|
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) |
142
|
0 |
0 |
error = git_sysdir_set(error, va_arg(ap, const char *)); |
147
|
0 |
0 |
git_object_t type = (git_object_t)va_arg(ap, int); |
148
|
0 |
0 |
size_t size = va_arg(ap, size_t); |
154
|
0 |
0 |
git_cache__max_storage = va_arg(ap, ssize_t); |
158
|
0 |
0 |
git_cache__enabled = (va_arg(ap, int) != 0); |
162
|
0 |
0 |
*(va_arg(ap, ssize_t *)) = git_cache__current_storage.val; |
163
|
0 |
0 |
*(va_arg(ap, ssize_t *)) = git_cache__max_storage; |
168
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
172
|
0 |
0 |
if ((error = git_sysdir_get(&tmp, GIT_SYSDIR_TEMPLATE)) < 0) |
180
|
0 |
0 |
error = git_sysdir_set(GIT_SYSDIR_TEMPLATE, va_arg(ap, const char *)); |
186
|
0 |
0 |
const char *file = va_arg(ap, const char *); |
187
|
0 |
0 |
const char *path = va_arg(ap, const char *); |
206
|
0 |
0 |
git__user_agent = git__strdup(va_arg(ap, const char *)); |
207
|
0 |
0 |
if (!git__user_agent) { |
215
|
0 |
0 |
git_object__strict_input_validation = (va_arg(ap, int) != 0); |
219
|
0 |
0 |
git_reference__enable_symbolic_ref_target_validation = (va_arg(ap, int) != 0); |
226
|
0 |
0 |
git__ssl_ciphers = git__strdup(va_arg(ap, const char *)); |
227
|
0 |
0 |
if (!git__ssl_ciphers) { |
240
|
0 |
0 |
git_buf *out = va_arg(ap, git_buf *); |
247
|
0 |
0 |
git_smart__ofs_delta_enabled = (va_arg(ap, int) != 0); |
251
|
0 |
0 |
git_repository__fsync_gitdir = (va_arg(ap, int) != 0); |
267
|
0 |
0 |
git_odb__strict_hash_verification = (va_arg(ap, int) != 0); |
271
|
0 |
0 |
error = git_allocator_setup(va_arg(ap, git_allocator *)); |
275
|
0 |
0 |
git_index__enforce_unsaved_safety = (va_arg(ap, int) != 0); |
279
|
0 |
0 |
git_indexer__max_objects = va_arg(ap, size_t); |
283
|
0 |
0 |
*(va_arg(ap, size_t *)) = git_indexer__max_objects; |
287
|
0 |
0 |
git_disable_pack_keep_file_checks = (va_arg(ap, int) != 0); |
291
|
0 |
0 |
git_http__expect_continue = (va_arg(ap, int) != 0); |