| 597 | } |
| 598 | |
| 599 | static void get_head(struct strbuf *hdr, char *arg UNUSED) |
| 600 | { |
| 601 | struct strbuf buf = STRBUF_INIT; |
| 602 | |
| 603 | select_getanyfile(hdr); |
| 604 | refs_head_ref_namespaced(get_main_ref_store(the_repository), |
| 605 | show_head_ref, &buf); |
| 606 | send_strbuf(hdr, "text/plain", &buf); |
| 607 | strbuf_release(&buf); |
| 608 | } |
| 609 | |
| 610 | static void get_info_packs(struct strbuf *hdr, char *arg UNUSED) |
| 611 | { |
nothing calls this directly
no test coverage detected