| 169 | } |
| 170 | |
| 171 | static void read_mailmap_string(struct string_list *map, char *buf) |
| 172 | { |
| 173 | while (*buf) { |
| 174 | char *end = strchrnul(buf, '\n'); |
| 175 | |
| 176 | if (*end) |
| 177 | *end++ = '\0'; |
| 178 | |
| 179 | read_mailmap_line(map, buf); |
| 180 | buf = end; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | int read_mailmap_blob(struct repository *repo, struct string_list *map, |
| 185 | const char *name) |
no test coverage detected