| 1856 | } |
| 1857 | |
| 1858 | int git_configset_get_value_multi(struct config_set *set, const char *key, |
| 1859 | const struct string_list **dest) |
| 1860 | { |
| 1861 | struct config_set_element *e; |
| 1862 | int ret; |
| 1863 | |
| 1864 | if ((ret = configset_find_element(set, key, &e))) |
| 1865 | return ret; |
| 1866 | else if (!e) |
| 1867 | return 1; |
| 1868 | *dest = &e->value_list; |
| 1869 | |
| 1870 | return 0; |
| 1871 | } |
| 1872 | |
| 1873 | static int check_multi_string(struct string_list_item *item, void *util) |
| 1874 | { |