| 138 | } |
| 139 | |
| 140 | static inline void strbuf_replace(struct strbuf *sb, const char *a, const char *b) |
| 141 | { |
| 142 | const char *ptr = strstr(sb->buf, a); |
| 143 | if (ptr) |
| 144 | strbuf_splice(sb, ptr - sb->buf, strlen(a), b, strlen(b)); |
| 145 | } |
| 146 | |
| 147 | static void free_trailer_item(struct trailer_item *item) |
| 148 | { |
no test coverage detected