| 1036 | } |
| 1037 | |
| 1038 | static void kvi_from_source(struct config_source *cs, |
| 1039 | enum config_scope scope, |
| 1040 | struct key_value_info *out) |
| 1041 | { |
| 1042 | out->filename = strintern(cs->name); |
| 1043 | out->origin_type = cs->origin_type; |
| 1044 | out->linenr = cs->linenr; |
| 1045 | out->scope = scope; |
| 1046 | } |
| 1047 | |
| 1048 | static int git_parse_source(struct config_source *cs, config_fn_t fn, |
| 1049 | struct key_value_info *kvi, void *data, |
no test coverage detected