| 1189 | } |
| 1190 | |
| 1191 | static void commit_fetch_head(struct fetch_head *fetch_head) |
| 1192 | { |
| 1193 | if (!fetch_head->fp || !atomic_fetch) |
| 1194 | return; |
| 1195 | strbuf_write(&fetch_head->buf, fetch_head->fp); |
| 1196 | } |
| 1197 | |
| 1198 | static void close_fetch_head(struct fetch_head *fetch_head) |
| 1199 | { |
no test coverage detected